Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2017 20:48:17 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to reinstall pkg(8) itself?
Message-ID:  <20171227194817.GJ2827@home.opsec.eu>
In-Reply-To: <20171227161245.GA42272@lorvorc.mips.inka.de>
References:  <slrnp47fa3.189a.naddy@lorvorc.mips.inka.de> <20171227155358.GI2827@home.opsec.eu> <20171227161245.GA42272@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@opsec.eu            +49 171 3101372                         3 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171227194817.GJ2827>