Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2009 10:12:57 +0100
From:      Jan Henrik Sylvester <me@janh.de>
To:        "Alain G. Fabry" <alainfabry@belgacom.net>
Cc:        Olivier Nicole <on@cs.ait.ac.th>, questions-list freebsd <freebsd-questions@freebsd.org>
Subject:   Re: How to list all the installed packages...
Message-ID:  <49CC9899.1020402@janh.de>
In-Reply-To: <20090327085735.GA27072@desmo.3rdrock.kicks-ass.net>
References:  <49CC8F78.9090001@janh.de> <20090327085735.GA27072@desmo.3rdrock.kicks-ass.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Alain G. Fabry wrote:
> On Fri, Mar 27, 2009 at 09:34:00AM +0100, Jan Henrik Sylvester wrote:
>> Olivier Nicole wrote:
>>> Is there a way to show a list of all installed packages that are not
>>> required by any other package?
>> cd /var/db/pkg/ ; for i in *-* ; do if [ ! -e $i/+REQUIRED_BY ] ; then 
>> echo $i ; fi ; done

[...]

>> If you want to be able to update ports quickly, you should keep the 
>> build dependencies. Doing "make pretty-print-build-depends-list" in a 
>> ports directory gives you the build dependencies.

[...]

> How about pkg_cutleaves

Is there anything about build dependencies in cutleaves?

http://www.freebsd.org/cgi/cvsweb.cgi/ports/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves?rev=1.2

I do not see it at a quick glance.

Cheers,
Jan Henrik



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?49CC9899.1020402>