Subject: pkg/34148: "pkg_chk -u -q" produces bogus error message
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-bugs
Date: 08/06/2006 14:50:00
>Number:         34148
>Category:       pkg
>Synopsis:       "pkg_chk -u -q" produces bogus error message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 06 14:50:00 +0000 2006
>Originator:     Matthias Scheler
>Release:        NetBSD 3.0_STABLE pkgsrc HEAD sources from 2006-06-08
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 3.0_STABLE NetBSD 3.0_STABLE (COLWYN) #0: Fri Jun 9 02:59:36 BST 2006 tron@colwyn.zhadum.org.uk:/export/scratch/tron/build.14667a/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
Version 1.77 of the "pkg_chk" package produces a bogus error message
if it is used with a configuration file:

tron@colwyn:~>pkg_chk -u -q
databases/mysql5-client - mysql-client-5.0.22 < mysql-client-5.0.24
databases/mysql5-server - mysql-server-5.0.22nb1 < mysql-server-5.0.24
graphics/sane-backends - sane-backends-1.0.17nb3 < sane-backends-1.0.18
*** Unable to read PKGCHK_CONF '/usr/pkgsrc/pkgchk_update-colwyn.zhadum.org.uk.conf'

The file doesn't exist because "pkg_chk" didn't create it.

>How-To-Repeat:
pkg_chk -u -q

>Fix:
None provided.