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:  [EMAIL PROTECTED]
> Nonlinear Systems Ltd.                        Phone: +44 20 8442 9037
> 
> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to