Todo #5221
closed
Todo #4224: PBIs are old skool. pkg-ng is the new shiny. We need to convert pfSense to use pkg-ng.
Cleanup PBI before upgrade
Added by Renato Botelho about 9 years ago.
Updated almost 9 years ago.
Description
Add a routine to cleanup all PBI data during the upgrade process, before boot in 2.3
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
works, all of /usr/pbi gone post-upgrade.
- Status changed from Resolved to Assigned
The PBI dir is gone but symlinks are still left around the filesystem to PBI dirs that no longer exist, which cause problems when pkg attempts to install after the upgrade. For example:
lrwxr-xr-x 1 root wheel 39 May 7 2015 /usr/bin/perl -> /usr/pbi/lightsquid-i386/local/bin/perl
lrwxr-xr-x 1 root wheel 45 May 7 2015 /usr/local/etc/lightsquid -> /usr/pbi/lightsquid-i386/local/etc/lightsquid
lrwxr-xr-x 1 root wheel 40 May 7 2015 /usr/local/lib/perl5 -> /usr/pbi/lightsquid-i386/local/lib/perl5
lrwxr-xr-x 1 root wheel 45 Nov 5 10:32 /usr/local/www/lightsquid -> /usr/pbi/lightsquid-i386/local/www/lightsquid
- Status changed from Assigned to Feedback
- Status changed from Feedback to Resolved
Works, also cleans up the symlinks outside /usr/pbi now.
Also available in: Atom
PDF