Cleaning MacPorts from old (unused) ports versions

Brandon Allbery allbery.b at gmail.com
Wed May 27 19:20:36 PDT 2015


On Wed, May 27, 2015 at 10:10 PM, Gustavo Seabra <gustavo.seabra at gmail.com>
wrote:

> So, there were 4 (!) versions of grace installed! That should be remnants
> of old MacPorts installations. I suppose similar multiple versions must be
> present for a number of different ports.
>
> My question is: is there a way to hunt and remove those older versions of
> ports? (preferably, some automatic way to remove them all, from all
> programs?)
>

Those are preserved old versions, from `port upgrade` --- so, if something
is broken for you in the new version, you can easily roll back.

`sudo port uninstall inactive` will clear them. If you decide you don't
want to keep them at all, use `sudo port -u upgrade outdated`.

I generally let them pile up over 3-4 upgrades and then remove all at once
before selfupdate.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150527/0b505d34/attachment.html>


More information about the macports-users mailing list