From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 05:21:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AC1C16A4CE for ; Mon, 26 Apr 2004 05:21:32 -0700 (PDT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8E6243D31 for ; Mon, 26 Apr 2004 05:21:31 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id 8E7F569A71; Mon, 26 Apr 2004 08:21:30 -0400 (EDT) Message-ID: <408CFE0F.4090007@potentialtech.com> Date: Mon, 26 Apr 2004 08:18:23 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc References: <200404261215.i3QCFUJ1027405@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200404261215.i3QCFUJ1027405@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Geert Hendrickx cc: freebsd-questions@freebsd.org cc: Jari Kirma Subject: Re: Garbage collection of installed packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 12:21:32 -0000 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