Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 14:04:39 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   ports: deinstall-all
Message-ID:  <50A16467.6090406@dreamchaser.org>

next in thread | raw e-mail | index | archive | help
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



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