Project

General

Profile

Actions

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

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

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

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

Actions #1

Updated by Renato Botelho over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Chris Buechler about 8 years ago

  • Status changed from Feedback to Resolved

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

Actions #3

Updated by Jim Pingle about 8 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
Actions #4

Updated by Renato Botelho about 8 years ago

  • Status changed from Assigned to Feedback
Actions #5

Updated by Chris Buechler about 8 years ago

  • Status changed from Feedback to Resolved

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

Actions

Also available in: Atom PDF