From owner-freebsd-current Mon May 8 5:53:36 2000 Delivered-To: freebsd-current@freebsd.org Received: from bunyip.flash.net (bunyip.flash.net [209.30.2.15]) by hub.freebsd.org (Postfix) with ESMTP id 31A2D37B5EF for ; Mon, 8 May 2000 05:53:33 -0700 (PDT) (envelope-from fosburgh@flash.net) Received: from penelope.flash.net (penelope.flash.net [209.30.6.71]) by bunyip.flash.net (8.9.3/Pro-8.9.3) with ESMTP id HAA29710; Mon, 8 May 2000 07:53:31 -0500 (CDT) Date: Mon, 8 May 2000 07:53:31 -0500 (CDT) Message-Id: <200005081253.HAA29710@bunyip.flash.net> From: fosburgh@flash.net Organization: FlashNet Communications X-Mailer: FlashNet My/Mail 1.1.2 - 7/29/99 X-Sender: fosburgh@flash.net MIME-Version: 1.0 To: Kenneth Wayne Culver Cc: freebsd-current@freebsd.org Subject: Re: proposed pkg_delete change Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon May 8 01:10:28 2000, 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. > > ================================================================= > | 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/| > ================================================================= > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message You may want to look into pkg_remove which I believe is in the ports system. It does basically what you are looking for, although I have not used it often enough to see how it handles things like multiple levels of dependencies (though, for the record, it did delete everything depending on qt 1 when I upgraded all of my qt/kde stuff a few months ago). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message