Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 08:18:23 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Tuc <tuc@ttsg.com>
Cc:        Jari Kirma <kirma@cs.hut.fi>
Subject:   Re: Garbage collection of installed packages
Message-ID:  <408CFE0F.4090007@potentialtech.com>
In-Reply-To: <200404261215.i3QCFUJ1027405@himinbjorg.tucs-beachin-obx-house.com>
References:  <200404261215.i3QCFUJ1027405@himinbjorg.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tuc wrote:
>>I use this script to find packages which are NOT dependencies of other
>>packages: 
>>
>>#/bin/sh
>>cd /var/db/pkg
>>for i in * ; do [ -e ${i}/+REQUIRED_BY ] || echo ${i} ; done
>>
>>This way you also see the packages which you installed expicitly (most
>>of them are not depended on by other packages either), but I suppose
>>you know/recognize those.  
> 
> 	I ran this.... 72 of my 176 came up.
> 
> 	Some that came up that I never remember installing by hand :
> 
> autoconf-2.13.000227_5
> autoconf-2.57_1
> automake-1.4.5_9
> bison-1.75_2
> ezm3-1.1_1
> gmake-3.80_2
> help2man-1.33.1
> intltool-0.30_1
> ispell-3.2.06_4
> libtool-1.3.5_2
> libtool-1.4.3_3
> libtool-1.5.2_1
> qmake-3.3.1
> rpm-3.0.6_9

A lot of these are required to _install_ certain programs, but are not
required to run them (bison, autoconf, rpm, gmake ...)

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?408CFE0F.4090007>