This work also.
On Sun, Apr 10, 2011 at 10:55 PM, OBATA Akio
<obache%netbsd.org@localhost> wrote:
On Mon, 11 Apr 2011 12:42:39 +0900, Andy Ruhl <
acruhl%gmail.com@localhost> wrote:
You can do this a few times, assuming you're using a bourne shell:
# for pkg in `pkg_info | awk '{print $1}'` ; do pkg_delete $pkg ; done
You'll probably have to run through that a few times while it figures
out dependencies. You can use one of the "force" options with
pkg_delete, but I prefer not to.
# pkg_delete -r '*'
--
OBATA Akio / obache%NetBSD.org@localhost