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
Add a routine to cleanup all PBI data during the upgrade process, before boot in 2.3
#3 Updated by Jim Pingle over 3 years ago
- 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