More than one version of a port installed.

Joshua Root jmr at macports.org
Sun Dec 14 15:47:17 PST 2008


David Epstein wrote:
> On doing port installed, I found many examples like this:
> tcl @8.5.4_0
> tcl @8.5.5_0 (active)
> 
> The first would not allow an uninstall because of dependencies. Is there
> anyway to reasonably clean up the situation so that I end up with only one
> version (the latest) of each port? But I suppose that wouldn't work because
> some port may insist on a particular outdated version of a package it
> depends on. So what's the best one can do in this direction with not too
> much manual work?

The incorrect complaining about dependents is fixed in MacPorts 1.7.
Ports can't currently depend on particular versions of other ports, so
you should be able to remove the old version with:

sudo port uninstall tcl @8.5.4_0

or, to remove all inactive versions:

sudo port uninstall inactive

- Josh


More information about the macports-users mailing list