On May 28, 2015, at 12:36 AM, Mojca Miklavec wrote: > On Thu, May 28, 2015 at 4:20 AM, Brandon Allbery wrote: >> On Wed, May 27, 2015 at 10:10 PM, Gustavo Seabra 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`. > > This is true, but I agree that it would be great to have something like > sudo port uninstall --all grace > > Otherwise one has to manually copy and paste every single version (if > one wants to keep older versions for other ports except with the > interactive version of the port command).
You can do that already: sudo port uninstall installed and grace (uninstalls ports named grace that are installed) Or if you meant: uninstall only the inactive ones: sudo port uninstall grace and inactive (uninstalls ports named grace that are inactive) _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users