Todo #12235
closed``pfSense-upgrade`` should reinstall all packages on new version upgrades
0%
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.
Updated by Renato Botelho about 3 years ago
- Status changed from New to Feedback
Implemented on pfSense-upgrade 1.0_2
Updated by Jim Pingle almost 3 years ago
- 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.
Updated by Renato Botelho almost 3 years ago
- 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
Updated by Renato Botelho almost 3 years ago
- Status changed from In Progress to Feedback
Fixed moving control file to be installed by pfSense-repo package
Updated by Renato Botelho almost 3 years ago
- 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
Updated by Renato Botelho almost 3 years ago
- Status changed from In Progress to Feedback
Fixed by pfSense-upgrade 1.0_6
Updated by Jim Pingle almost 3 years ago
- Plus Target Version changed from 21.09 to 22.01