Subject: pkg/34148: "pkg_chk -u -q" produces bogus error message
To: None <,,>
From: Matthias Scheler <>
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
Matthias Scheler                        
System: NetBSD 3.0_STABLE NetBSD 3.0_STABLE (COLWYN) #0: Fri Jun 9 02:59:36 BST 2006 i386
Architecture: i386
Machine: i386
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/'

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

pkg_chk -u -q

None provided.