How to reinstall pkg(8) itself?
Kurt Jaeger
lists at opsec.eu
Wed Dec 27 19:48:16 UTC 2017
Hi!
> > > 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 it tells you to
make deinstall
make reinstall
then I use that in almost every case and it fixes it. I don't remember
a case where this did not fix it.
--
pi at opsec.eu +49 171 3101372 3 years to go !
More information about the freebsd-ports
mailing list