Limiting the size of /opt/local/var/db/dports/software

Kevin Ballard eridius at
Thu Feb 1 13:49:52 PST 2007

sudo port -f uninstall inactive

To prevent having inactive versions of ports in the future, pass the - 
u switch when upgrading. This will force it to uninstall the old  
version before activating the new (remember to pass -f as well, or it  
may fail at the uninstalling of the old version due to dependencies;  
I believe you need -n as well at this point, or the -f will make it  
try and upgrade all dependencies whether or not they need it)

On Feb 1, 2007, at 4:33 PM, Jason Stelzer wrote:

> It seems needlessly large. I've tried:
> port clean --all installed
> but that doesn't seem to do what I thought it did. I don't think  
> there's any need for 3 built versions of Imagemagick for instance.
> Granted, its not the biggest offender in the world, but it seems  
> like a needless waste of space.

Kevin Ballard
eridius at

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the macports-users mailing list