[Solved] pfSense-pkg-System_Patches reinstallation failed!
-
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?
-
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.
-
@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.
-
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 :)
-
@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.
-
@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.
-
@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.
-
@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 :)