Todo #12235
closed
``pfSense-upgrade`` should reinstall all packages on new version upgrades
Added by Renato Botelho over 3 years ago.
Updated about 3 years ago.
Plus Target Version:
22.01
Description
Today pfSense rely only on pkg to detect what must or not be upgraded. Sometimes a package is rebuilt using the same version when a new pfSense version comes and it's not reinstalled during release upgrade and ended up being different from what is present on a fresh install.
In order to improve this situation and make sure all packages are the same if we upgrade or do a fresh install, implement a mechanism that forces all packages reinstallation when the value of /etc/version changes.
This way full reinstall will never happen while using a -DEVELOPMENT snapshot but will for sure happen when it moves to -ALPHA, -BETA, -RC or -RELEASE. Also will happen when upgrading from X.Y-RELEASE to W.Z-RELEASE.
- Status changed from New to Feedback
Implemented on pfSense-upgrade 1.0_2
- Subject changed from pfSense-upgrade: Reinstall all packages on new version upgrades to ``pfSense-upgrade`` should reinstall all packages on new version upgrades
Updating subject for release notes.
- Status changed from Feedback to In Progress
I found a bug on current implementation because control file is installed by pfSense-upgrade and it is not rebuilt when we change version
- Status changed from In Progress to Feedback
Fixed moving control file to be installed by pfSense-repo package
- Status changed from Feedback to In Progress
There were some reports of crash logs showing up after upgrade and also PHP complaining about libpfctl missing during upgrade. Those errors were caused by this change and I'm finishing test a fix
- Status changed from In Progress to Feedback
Fixed by pfSense-upgrade 1.0_6
- Status changed from Feedback to Resolved
- Plus Target Version changed from 21.09 to 22.01
Also available in: Atom
PDF