From owner-freebsd-current Tue May 9 14:27:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by hub.freebsd.org (Postfix) with ESMTP id 90A7437C303 for ; Tue, 9 May 2000 14:27:47 -0700 (PDT) (envelope-from culverk@wam.umd.edu) Received: from rac8.wam.umd.edu (root@rac8.wam.umd.edu [128.8.10.148]) by po3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id RAA09563; Tue, 9 May 2000 17:27:19 -0400 (EDT) Received: from rac8.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac8.wam.umd.edu (8.9.3/8.9.3) with SMTP id RAA27046; Tue, 9 May 2000 17:27:37 -0400 (EDT) Received: from localhost (culverk@localhost) by rac8.wam.umd.edu (8.9.3/8.9.3) with ESMTP id RAA27041; Tue, 9 May 2000 17:27:37 -0400 (EDT) X-Authentication-Warning: rac8.wam.umd.edu: culverk owned process doing -bs Date: Tue, 9 May 2000 17:27:37 -0400 (EDT) From: Kenneth Wayne Culver To: Doug Rabson Cc: Mike Pritchard , freebsd-current@freebsd.org Subject: Re: proposed pkg_delete change In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yeah, but some ports and projects don't have the same beginning to their names which prompted me to make my suggestion. ================================================================= | Kenneth Culver | FreeBSD: The best OS around. | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: muythaibxr | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= On Tue, 9 May 2000, Doug Rabson wrote: > On Mon, 8 May 2000, Mike Pritchard wrote: > > > On Mon, May 08, 2000 at 02:10:28AM -0400, Kenneth Wayne Culver wrote: > > > I have a suggestion for pkg_delete: Very often when I'm deleting a package > > > (such as kde, after testing the port) I want to delete that package, and > > > all it's dependancies; instead of going around looking for the > > > dependancies, I think it would be a nice idea to add an option to > > > pkg_delete to automatically delete all dependancies that aren't currently > > > used by anything else. If nobody is interested in doing this, I can do it > > > when I have some spare time (finals here at school). And then submit > > > patches. > > > > That would have saved me a *lot* of time about a month ago when I > > went and weeded out all of my packages when my /usr filled up. > > I basically did what you are proposing by hand and it took forever. > > e.g. pkg_delete some_package - oops, it depends on pkg_xxx, delete that, > > oops, it depends on pkg_xxx2, and so on, when in reality that only > > reason any of those additional packages were installed were for the > > original package. > > I just go to /var/db/pkg and type 'pkg_delete kde*' a few times. After a > while they all get deleted. > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 20 8442 9037 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message