Subject: Re: How to delete *all" packages at once?
To: None <smb@cs.columbia.edu>
From: Johan A.van Zanten <johan@giantfoo.org>
List: netbsd-users
Date: 03/05/2005 14:47:31
In message <20050305153325.GB361@nunotex.local>, Nuno Teixeira asked:
> >
> >Hello to all,
> >
> >I'm moving from pkgsrc-2004Q4 to pkgsrc-current and I decided to install
> >all my programs from scratch.
> >
> >I have tried `pkg_delete "*"` and it works but I need to run this
> >command several times.
> >
> >Does anyone knows a better way to do this?


"Steven M. Bellovin" <smb@cs.columbia.edu> answered:
> You could use pkgdepgraph to build the dependency list.

 Is:

  pkg_delete -f "*"


 ...a bad idea?

 -johan