Subject: Re: How to delete *all" packages at once?
To: Nuno Teixeira <nu@nunotex.freeshell.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 03/05/2005 10:37:01
In message <20050305153325.GB361@nunotex.local>, Nuno Teixeira writes:
>
>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?
>

You could use pkgdepgraph to build the dependency list.

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb