Minimising MacPorts Internal Disk Usage

Arno Hautala arno at alum.wpi.edu
Thu Aug 15 06:05:58 PDT 2013


On Thu, Aug 15, 2013 at 8:59 AM, "René J.V. Bertin" <rjvbertin at gmail.com> wrote:
>
> On Aug 15, 2013, at 10:33, Chris Jones wrote:
>>
>> port uninstall inactive
>
> I tried that once, and had to restore my whole installation tree from backup.
> I would be great if one could uninstall all old versions except for the previous version!

It's not exactly what you're looking for, but you could run: port
uninstall inactive and actinact

"actinact" is only those ports that have an active version as well as
an inactive version. Combining it with "inactive" means install any
inactive ports that also have an active version. I use it after
running "upgrade outdated" to remove the old versions of ports, while
leaving in place anything that I've manually left inactive.


-- 
arno  s  hautala    /-|   arno at alum.wpi.edu

pgp b2c9d448


More information about the macports-users mailing list