Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Solved] pfSense-pkg-System_Patches reinstallation failed!

    pfSense Packages
    3
    8
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      furom
      last edited by furom

      Hi,

      I have been holding my upgrade to 23.05 a few days and finally thought I'd give it a go. So went through packages, and found patches to have an upgrade, so tried updating it but it failed? Should I instead just uninstall it, reboot, upgrade and reinstall? I only have one custom patch applied, all else the recommended ones. The custom one is included in 23.05, so is probably the easiest, right?

      d91e685d-3542-4083-8d22-3095d27632d5-image.png

      S 1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by bmeeks

        Never upgrade packages when a newer version of pfSense itself is showing as available! Forcing that will likely break your system completely. Notice the pkg system is warning you that there is a PHP version difference between your current pfSense version and the new package update you are wanting to install. Packages are compiled against and made to be used with the latest pfSense version.

        First update your system to pfSense 23.05 if you have not. Then you can update your packages.

        And for now there are no "patches" for 23.05 as it was just released and contains fixes for all the patches you may have previously been using for 23.01.

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @furom
          last edited by

          @furom Alternatively you can set your update branch to Previous Stable and then install packages if you don’t want to upgrade.

          Note the upgrade guide recommends uninstalling packages before upgrades.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • F
            furom
            last edited by

            Yes, I got that PHP somehow has been updated, what I don't is as @SteveITS says, it is recommended to uninstall packages before an upgrade - so I don't really understand how the system can be aware of this PHP change before I have upgraded... Seems like an issue in itself really.

            I did manage to uninstall one package, but it was when trying to refresh/upgrade it did not...

            I will just go ahead and try the upgrade then, it seems to have gone quite good for most.

            Thanks :)

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @furom
              last edited by

              @furom it’s not saying it has been updated. It’s saying, you’re trying to install a package for 23.05 but you have 23.01, continuing will upgrade PHP on 23.01, so it’s refusing, to save you. In the past it would have installed.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              F 1 Reply Last reply Reply Quote 0
              • F
                furom @SteveITS
                last edited by furom

                @SteveITS said in pfSense-pkg-System_Patches reinstallation failed!:

                @furom it’s not saying it has been updated. It’s saying, you’re trying to install a package for 23.05 but you have 23.01, continuing will upgrade PHP on 23.01, so it’s refusing, to save you. In the past it would have installed.

                Yes, I know my system was not updated, but pfSense somehow already had knowledge of changes which led to this warning. It would in my opinion be better to keep versions and their configs/repository's separate, but guess there is a reason it is what it is

                However, on a positive note, I did the upgrade to 23.05 and from what I can tell so far it went well. Thank you.

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @furom
                  last edited by

                  @furom They’re working on something. There’s an open redmine from a couple years ago but I don’t have the URL handy. At least it blocks it now. Per my sig it was… worse.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  F 1 Reply Last reply Reply Quote 1
                  • F
                    furom @SteveITS
                    last edited by

                    @SteveITS said in [Solved] pfSense-pkg-System_Patches reinstallation failed!:

                    @furom They’re working on something. There’s an open redmine from a couple years ago but I don’t have the URL handy. At least it blocks it now. Per my sig it was… worse.

                    That is great. And fully agree, this is much to prefer over ruining your system, no doubt at all so with some more insight, only grateful it (as usual with pfSense) turned out well :)

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.