How to reinstall pkg(8) itself?

Christian Weisgerber naddy at mips.inka.de
Wed Dec 27 16:15:07 UTC 2017


Kurt Jaeger:

> > You have pkg(8) installed, but want to recompile and reinstall it.
> > How do you do this?
> 
> cd /usr/ports/ports-mgmt/pkg
> make install

===>  Installing for pkg-1.10.3_1
===>  Checking if pkg already installed
===>   pkg-1.10.3_1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of pkg
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the freebsd-ports mailing list