Subject: Re: removing pkgs
To: None <rmk@rmkhome.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 08/15/2005 14:44:47
In message <200508151837.j7FIbDg22987@toad.rmkhome.com>, Rick Kelly writes:
>
>Is there a clean way to remove all the packages on a system?
>

There's always 'rm -rf /usr/pkg'...

Beyond that, I *think* that this will work:

	pkg_delete `pkgdepgraph -D -a`


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