Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2000 20:22:25 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Mike Pritchard <mpp@mppsystems.com>
Cc:        Kenneth Wayne Culver <culverk@wam.umd.edu>, freebsd-current@freebsd.org
Subject:   Re: proposed pkg_delete change
Message-ID:  <Pine.BSF.4.21.0005092021500.47945-100000@salmon.nlsystems.com>
In-Reply-To: <20000508063936.E64839@mppsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005092021500.47945-100000>