Subject: Re: hardcoded prefix path in pkgtools/pkg_install
To: Douwe Kiela <virtus@wanadoo.nl>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 09/28/2003 22:10:55
On Sat, Sep 27, 2003 at 08:52:04PM +0200, Douwe Kiela wrote:

> /usr/pkg/sbin/pkg_admin: not found
> /usr/pkg/sbin/pkg_admin: not found
> ===> Checking for vulnerabilities in pkg_install-20030923
> /usr/pkg/sbin/pkg_admin: not found

what does your /etc/mk.conf contain?

if you pass --prefix=/usr/blah to 'bootstrap', the generated
mk.conf.example should contain the line:

LOCALBASE=/usr/blah

if LOCALBASE is not defined, it defaults to /usr/pkg. is it
possible you are missing LOCALBASE?

g.