Subject: Re: Problems with pkg db under 1.6.2_STABLE?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Christopher W. Richardson <cwr@nexthop.com>
List: tech-pkg
Date: 06/07/2004 16:49:07
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Jeremy C. Reed" <reed@reedmedia.net> writes:

> On 7 Jun 2004, Christopher W. Richardson wrote:
> 
> > So, it appears that things actually _are_ installed properly, but
> > pkg_info doesn't see them.  This has happened for every (non
> > pkg_tools) package that I've attempted to upgrade so far.  Am I
> > doing something wrong?  Any ideas?
> 
> I don't know why.
> 
> But do you have a wget-* directory under /var/db/pkg/ ?

Nope.

> I wonder if you have multiple pkg_info tools installed (one
> with wrong PKG_DBDIR) or PKG_DBDIR set in your environment.

I don't think so, though I'm not entirely sure how I'd go about
figuring that out.  My best guesses indicate that it's not the
case:

cwr@achilles$ls /var/db/pkg/ | grep -i wget
cwr@achilles$env | grep PKG
cwr@achilles$set | grep PKG
cwr@achilles$which pkg_info
/usr/sbin/pkg_info
cwr@achilles$locate pkg_info
/usr/pkgsrc/pkgtools/pkg_install/files/info/pkg_info.1
/usr/pkgsrc/pkgtools/pkg_install/files/info/pkg_info.cat1
/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20031003/info/pkg_info
/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20031003/info/pkg_info.1
/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20031003/info/pkg_info.cat1
/usr/sbin/pkg_info
/usr/share/man/cat1/pkg_info.0
/usr/share/man/man1/pkg_info.1
/usr/src/usr.sbin/pkg_install/info/pkg_info.1
cwr@achilles$pkg_info -V
20040601
cwr@achilles$

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQFAxNTCP65RBOOHTzERAorQAKDg2ie9TrLQBIAQTUlwCQhTvtCoCACgu+NZ
skD+fzRuQGzC3Ehj/XkwqkU=
=BufW
-----END PGP SIGNATURE-----