HEADS UP - pkg may delete itself (solution)

Robin Hahling robin.hahling at gw-computing.net
Tue Feb 17 02:34:06 PST 2015

Recent versions of pkg(8) (older than 1.4.12) contain a bug that could cause a 
suppression of pkg itself during an upgrade or a package installation.

If this happened, you end up without pkg(8) on your system. Here is a simple 
solution to fix that:

# cd /usr && make pkg-bootstrap

This will download and install the most recent version of pkg (1.4.12) which 
contains a fix to this problem. You may want to check that this actually 
worked by running:

% pkg -v

which should output '1.4.12' (or newer).


More information about the Users mailing list