Subject: pkg/30441: "pkg_chk -i -f" doesn't work anymore
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.de>
List: pkgsrc-bugs
Date: 06/06/2005 09:08:00
>Number:         30441
>Category:       pkg
>Synopsis:       "pkg_chk -i -f" doesn't work anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 06 09:08:00 +0000 2005
>Originator:     tron@zhadum.de
>Release:        NetBSD 3.0_BETA 2005-06-06 sources,
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 3.0_BETA NetBSD 3.0_BETA (COLWYN) #0: Sun May 29 12:34:37 BST 2005 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386

Information for pkg_chk-1.59:

Comment:
Check installed package versions against pkgsrc

Description:
pkg_chk verifies that the versions of installed packages matches those in
pkgsrc, optionally adding missing or updating mismatched packages.

It can verify all installed packages, or check against a set of packages
based on the hostname, architecture, and other characteristics.

Homepage:
ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
>Description:

"pkg_chk" will now longer fetch distfiles for packages which need to
be updated:

tron@colwyn:/usr/pkgsrc/net/samba>pkg_chk -i -f
[...]
samba-3.0.14anb1: version mismatch - samba-3.0.10nb2
[...]
[ Fetch ]
tron@colwyn:/usr/pkgsrc/net/samba>make fetch
===> Checking for vulnerabilities in samba-3.0.14anb1
=> samba-3.0.14a.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch samba-3.0.14a.tar.gz from ftp://ftp.uk.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [15605851 bytes]
Requesting ftp://ftp.uk.NetBSD.org/pub/NetBSD/packages/distfiles/samba-3.0.14a.tar.gz
  (via proxy.zhadum.de:8080)
[...]

>How-To-Repeat:
Use "pkg_chk -i -f" on a system with at least one outdated package.

>Fix:
None provided.