Subject: Re: Removing All Packages
To: None <tech-pkg@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 10/29/2004 15:03:45
On Fri, 29 Oct 2004 08:38:24 -0400
"D'Arcy J.M. Cain" <darcy@NetBSD.org> wrote:

> I always make sure that I move the configs elsewhere and change the
> startup to use the new place.  If that isn't possible then I at least
> move it and symlink it.  That way I can at least reinstall the symlink
> after a clean install.

Try PKG_SYSCONFBASE=/etc/pkg in your mk.conf; have been using it for ages
and is very nice - you won't loose the configuration files after removing
/usr/pkg.

-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/