From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 05:15:37 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 0AC6416A4CE for ; Mon, 26 Apr 2004 05:15:37 -0700 (PDT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8512343D62 for ; Mon, 26 Apr 2004 05:15:36 -0700 (PDT) (envelope-from tuc@ttsg.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)i3QCFUS6050571; Mon, 26 Apr 2004 08:15:31 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id i3QCFUno027406; Mon, 26 Apr 2004 08:15:30 -0400 (EDT) (envelope-from tuc@ttsg.com) Received: (from tuc@localhost)i3QCFUJ1027405; Mon, 26 Apr 2004 08:15:30 -0400 (EDT) (envelope-from tuc) From: Tuc Message-Id: <200404261215.i3QCFUJ1027405@himinbjorg.tucs-beachin-obx-house.com> To: geert.hendrickx@ua.ac.be (Geert Hendrickx) Date: Mon, 26 Apr 2004 08:15:30 -0400 (EDT) In-Reply-To: <20040426113026.GA23138@lori.mine.nu> from "Geert Hendrickx" at Apr 26, 2004 01:30:26 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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:15:37 -0000 > > 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 I think the ezm3 is from portupgrade, ispell maybe from elm, rpm from linux.. Is this more that people didn't set the requirements properly? Thanks, Tuc/TTSG Internet Services, Inc.