Subject: pkg/29713: Bootstrap with alternate pkgdbdir is inconsistent
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <evaldo@gardenali.biz>
List: pkgsrc-bugs
Date: 03/16/2005 19:04:00
>Number:         29713
>Category:       pkg
>Synopsis:       Bootstrap with alternate pkgdbdir is inconsistent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 16 19:04:00 +0000 2005
>Originator:     Evaldo Gardenali
>Release:        Slackware 10.1 with pkgsrc (20050315)
>Organization:
>Environment:
>Description:
Bootstrapping pkgsrc on slackware with --pkgdbdir=/var/pkgsrc-pkgdb works okay, but it installs pkg_info which looks on the correct directory, and still keeps track of packages (except digest, which also works on the right directory) on /var/db/pkg still
>How-To-Repeat:
Install slackware 10.1; fetch pkgsrc; cd /usr/pkgsrc/bootstrap; ./bootstrap --pkgdbdir=/var/pkgsrc-pkgdb; cd /usr/pkgsrc/misc/screen; bmake install; pkg_info  ----- then look at the output of pkg_info to see if screen is there. then look at /var/db/pkg and screen is there
>Fix: