need to uninstall all inactive ports

Timothy Goins ohce86 at kitcarson.net
Wed Feb 4 10:16:31 PST 2009


Here's what I get when I try to get port_cutleaves:

tsg at cotopaxi:~$ sudo port install port_cutleaves
Error: Port port_cutleaves not found

On Feb 4, 2009, at 8:50 AM, Rainer Müller wrote:

> S. M. Ibrahim (Lavlu) wrote:
>> i am using macports for last 6 months. recently when i was cleaning  
>> my
>> hdd for some free space, i saw /opt/local folder size is 11GB :(
>> i want to remove all unnecessary package + libs and also the orphan
>> packages. and at the time of upgrade i didn't use -uR , lots of  
>> package
>> have more then 1 inactive version.
>
> You can use this to remove inactive ports:
>  sudo port uninstall inactive
>
> You will gain additional space by removing downloaded distfiles with:
>  sudo port clean --all installed
>
> But there is no way to find orphaned ports, as MacPorts does not track
> if ports are installed as dependency or by request. But there is the
> tool port_cutleaves which allows to remove possible no longer needed  
> ports.
>
>  sudo port install port_cutleaves
>  sudo port_cutleaves
>
> Rainer
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090204/25cd17d3/attachment.html>


More information about the macports-users mailing list