Project

General

Profile

Todo #5221

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 over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Upgrade
Target version:
Start date:
10/01/2015
Due date:
% Done:

100%

Estimated time:

Description

Add a routine to cleanup all PBI data during the upgrade process, before boot in 2.3

Associated revisions

Revision 9ace8a73 (diff)
Added by Renato Botelho over 3 years ago

Remove all PBIs before upgrade to 2.3, it fixes #5221

Revision 7d8c9075 (diff)
Added by Renato Botelho over 3 years ago

Remove remaining PBI symlinks not registered in .pbiopt file. If should fix #5221

History

#1 Updated by Renato Botelho over 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

works, all of /usr/pbi gone post-upgrade.

#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

#4 Updated by Renato Botelho over 3 years ago

  • Status changed from Assigned to Feedback

#5 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

Works, also cleans up the symlinks outside /usr/pbi now.

Also available in: Atom PDF