Subject: Re: bootstrap-pkgsrc: $pkgdbdir vs. /var/db/pkg
To: None <>
From: grant beattie <>
List: tech-pkg
Date: 11/25/2002 10:09:04
On Sun, Nov 24, 2002 at 12:12:03PM -0500, Jan Schaumann wrote:

> > This is a big problem on OS that have a /var/db/pkg already (but not a
> > pkgsrc one e.g. OpenBSD). 
> Hmmm, that may indeed be a problem.  Do FreeBSD's and OpenBSD's native
> package tools use the same environment variables?

Yes, perhaps a warning should be generated if the default pkgdb
directory already exists or if we're running on a platform with known
potential clashes.

I came across this while putting together FreeBSD support. It didn't
bother me since I wasn't intending to use ports at all ;-)

The conflicting pkg_* tools were slightly annoying, though 'rm' can
deal with that. :)