On 4 Mar 2011, at 15:50, Harald Hanche-Olsen wrote:

> [Ryan Schmidt <[email protected]> (2011-03-04 15:06:21 UTC)]
> 
>> sudo port uninstall dokuwiki
>> port installed leaves
>> sudo port uninstall leaves

Many thanks for this and clarifying the difference between dependency and 
dependent.

> See also the newish requested flag:
> 
> port echo leaves and unrequested

The port manpage makes the definition 'leaves: installed ports that are 
unrequested and have no dependents'. This makes your 'and unrequested' 
redundant here.

> Look at the output, run “sudo port setrequested” for those ports
> you want to keep, then
> 
> sudo port uninstall leaves and unrequested

I'd not appreciated the usefulness of setrequested before. Thanks for that!

> Note that uninstalling leaves can create new leaves, so iterate this
> procedure until nothing more happens.

I found out about the necessity for repetition by doing.

I am extremely grateful to both of you for the help.

Barrie.

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to