Is it generally okay to uninstall all inactive leaves?

Brandon Allbery allbery.b at
Sun Feb 15 10:37:06 PST 2015

On Sun, Feb 15, 2015 at 1:25 PM, Carlo Tambuatco <oraclmaster at>

> $> port list leaves and inactive
> is it generally okay to uninstall everything that comes up in that list?
> I know what leaves are but I'm still afraid there are some sort of hidden
> run time dependencies I may not be aware of...

Inactive leaves should always be safe. Active leaves are usually safe; the
biggest thing I run into isn't hidden dependencies but build dependencies
that end up getting reinstalled again the next time I install/upgrade
something. (oh hi autoconf :p )

Sometimes I mark those as requested just so I'm not having to track them
when pruning or reinstalling them next time I do anything. That runs into
the problem of upgrades to those deps though.

(That said, there was a bobble a couple months ago that had an inactive
py27-distribute as dependency of active Python ports. It's spurious; you
can force the uninstall without breaking anything.)

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list