Bug #3597
closedTodo #4224: PBIs are old skool. pkg-ng is the new shiny. We need to convert pfSense to use pkg-ng.
Package reinstall on system upgrades needs some fallback handling
100%
Description
Lost all packages on upgrade. No idea if the process was killed or what, does not exactly matter. Result:
- Installed packages list empty
- Diagnostics - Backup/Restore - Reinstall packages unavailable
- Digging through the system log and/or configuration backups to find out what was actually installed seriously sucks. In the end, all we end with is a flood of
php: rc.start_packages: $foo package is missing its configuration file and must be reinstalled.
in the system log.
Apparently the process is not tracked at all. Also, why is the list of packages that is created right before trying to reinstall the packages not saved somewhere and used for the reinstall all packages feature if the process completely/partially fails due to whatever reason?