Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2009 14:46:34 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Jonathan <jonathan@kc8onw.net>
Cc:        ports@freebsd.org, Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
Subject:   Re: [HEADUP] FreeBSD Gecko's TODO and plan for future
Message-ID:  <4A95AD3A.7060008@FreeBSD.org>
In-Reply-To: <4A9497CE.3000108@kc8onw.net>
References:  <20090822182208.GM82743@bsdcrew.de>	<20090824020523.GB52180@duncan.reilly.home>	<1251080785.99362.26.camel@shumai.marcuscom.com>	<20090825002359.GA61141@duncan.reilly.home> <4A9497CE.3000108@kc8onw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan wrote:
> On 8/24/2009 8:23 PM, Andrew Reilly wrote:
>> Is there any convenient way to list dependencies hierarchially,
>> rather than the flat set that pkg_info -r provides?
> 
> I've found pkg_tree to be useful for that.
> http://www.freebsd.org/cgi/url.cgi?ports/ports-mgmt/pkg_tree/pkg-descr
> 
> The feature I use the most is pkg_tree -tq which gives a list of all
> ports that are not depended on by any other ports, i.e. the minimal set
> to manually reinstall to replicate a set of installed ports on another
> machine.

portmaster -l will give you a list of ports in the following categories:

===>>> Root ports (No dependencies, not depended on)
===>>> Trunk ports (No dependencies, are depended on)
===>>> Branch ports (Have dependencies, are depended on)
===>>> Leaf ports (Have dependencies, not depended on)

There is a procedure in the man page that describes how to use that
information to do a clean reinstall of your ports.


hth,

Doug

-- 

    This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A95AD3A.7060008>