Subject: Re: How to delete *all" packages at once?
To: None <firstname.lastname@example.org>
From: Johan A.van Zanten <email@example.com>
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" <firstname.lastname@example.org> answered:
> You could use pkgdepgraph to build the dependency list.
pkg_delete -f "*"
...a bad idea?