Subject: Problems with pkg db under 1.6.2_STABLE?
To: None <tech-pkg@netbsd.org>
From: Christopher W. Richardson <cwr@nexthop.com>
List: tech-pkg
Date: 06/07/2004 16:02:37
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just managed to fix my build and get my system properly updated
with the latest 1.6 fixes.  Now I'm trying to update my packages
to get around known security issues.  I seem to have an issue
with packages registering properly with the package db:

cwr@achilles$ make update
[...]
install -c -o root -g wheel -m 444 wget.1
/usr/pkg/man/man1/wget.1

===> Installing configuration/support files for wget-1.9.1nb1

        /usr/pkg/etc/wgetrc

===========================================================================
You may wish to customize the following files for wget-1.9.1nb1:

        /usr/pkg/etc/wgetrc
===========================================================================
===> Registering installation for wget-1.9.1nb1
wget-1.9.1nb1 requires installed package openssl-0.9.6m
===> Cleaning for wget-1.9.1nb1
cwr@achilles$pkg_info -a | grep -i wget
cwr@achilles$

Note, that the above is after make install failed with

===> Installing for wget-1.9.1nb1
===> wget-1.9.1nb1 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete wget-1.9.1nb1" and "/usr/bin/make reinstall" to upgrade properly
***  - "/usr/bin/make update" to rebuild the package and all of its dependencies
***  - "/usr/bin/make replace" to replace only the package without re-linking
***    dependencies, risking various problems.
*** Error code 1


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?

Thanks,
Chris
that I've attempted to upgrade so far
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQFAxMnbP65RBOOHTzERAlYbAKCk/bn2vdnzz0zBo25eb7FmUVqhegCeP+IC
sA+Jy8fDQHeJZGZrH3SMnic=
=2/UD
-----END PGP SIGNATURE-----