Project

General

Profile

Actions

Bug #3597

closed

Todo #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

Added by Doktor Notor almost 10 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
Package System
Target version:
Start date:
04/10/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

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?

Actions

Also available in: Atom PDF