From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 05:14:17 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 AD0AF16A4CE for ; Mon, 26 Apr 2004 05:14:17 -0700 (PDT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D10D843D64 for ; Mon, 26 Apr 2004 05:14:16 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: (qmail 14378 invoked by uid 89); 26 Apr 2004 12:09:56 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 26 Apr 2004 12:09:56 -0000 Received: (qmail 8074 invoked from network); 26 Apr 2004 12:14:15 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 26 Apr 2004 12:14:15 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 4556D614D; Mon, 26 Apr 2004 15:13:50 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id A673824D; Mon, 26 Apr 2004 15:17:34 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 29547-02; Mon, 26 Apr 2004 15:17:34 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 3A7821EE; Mon, 26 Apr 2004 15:17:34 +0300 (EEST) Date: Mon, 26 Apr 2004 15:17:34 +0300 From: Ion-Mihai Tetcu To: Jari Kirma Message-Id: <20040426151734.3d2046d8@it.buh.cameradicommercio.ro> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: freebsd-questions@freebsd.org 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:14:17 -0000 On Mon, 26 Apr 2004 14:14:18 +0300 (EEST) Jari Kirma wrote: > > I have been observing how over long time, fbsd systems tend to gain > packages that have been installed as a dependency of some other package, > but later the original dependency leading to their installation has either > changed to something else or disappeared completely, leaving package > that's never explicitly installed nor required by any other package. So, > my question is, is there an easy way to recognise these "garbage" > packages? > > Only obvious way to do this, at least that I've thought of, would be to > have "explicitly required" flag in the package, or a dependency on a > special package which would contain all potentially top-level packages. > Problem with this, and all scenarios is that packages that would have > installed as "explicitly requred" (not as a dependency of some other > package) can be used, for instance by developers, without flagging them > explicitly required after all. Anyway, a suggestion more informed hint > about which installed packages are actually garbage, would be nice. (In > above scenario, such packages would be ones without explicitly required > flag and without any other packages requiring them.) sysutils/pkg_tree This program generates a graphical tree of packages and their dependan- cies. -- IOnut Unregistered ;) FreeBSD "user"