Cleaning MacPorts from old (unused) ports versions
Gustavo Seabra
gustavo.seabra at gmail.com
Wed May 27 19:26:52 PDT 2015
Em 27/05/2015, à(s) 23:20, Brandon Allbery <allbery.b at gmail.com> escreveu:
>
> 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 self update.
Thanks!
Gustavo.
More information about the macports-users
mailing list