Subject: Re: How to delete *all" packages at once?
To: None <netbsd-users@netbsd.org>
From: fab <fab@gnux.info>
List: netbsd-users
Date: 03/05/2005 23:27:44
> 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?
>
> When I was a FreeBSD user I usually used `pkg_delete -a` with success.
I did it a few ago, typing:
rm -fr /usr/pkg/* /var/db/pkg*
Fabien Devaux.