ports: deinstall-all
Gary Aitken
freebsd at dreamchaser.org
Mon Nov 12 21:04:47 UTC 2012
Something pretty basic somewhere that I'm missing...
"man ports" indicates the target "deinstall-all" will remove all installed ports.
yet the target doesn't seem to exist:
#cd /usr/ports
#make deinstall-all
make: don't know how to make deinstall-all. stop.
This was prompted by the following when attempting to install emacs:
===> Checking if devel/pkgconf already installed
===> An older version of devel/pkgconf is already installed (pkg-config-0.25_1)
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 devel/pkgconf
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
So I did:
cd /usr/ports/devel/pkgconf
make deinstall
cd ../..
portupgrade devel/pkgconf
cd devel/pkgconf
make clean
make
make install
===> Installing for pkgconf-0.8.9
===> Generating temporary packing list
===> Checking if devel/pkgconf already installed
===> An older version of devel/pkgconf is already installed (pkg-config-0.25_1)
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 devel/pkgconf
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
Where to go from here?
Why was pkgconf still installed?
There are other packages dependent on it... is that the reason?
If so, why no warning / info when I do the make deinstall?
Thanks,
Gary
More information about the freebsd-questions
mailing list