Subject: pkg/34136: pkgtools/pkg_chk outputs errors for "-u -q" with no update conf file
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 08/03/2006 18:40:03
>Synopsis: pkgtools/pkg_chk outputs errors for "-u -q" with no update conf file
>Arrival-Date: Thu Aug 03 18:40:03 +0000 2006
>Originator: Todd Vierling
>Release: NetBSD 2.1.0_STABLE
DUH.ORG: Pointing out the obvious since 1994.
Recently I'm now seeing the following from pkg_chk (1.77, but I don't know
what revision started this):
*** Unable to read PKGCHK_CONF '/usr/pkgsrc/pkgchk_update-server.duh.org.conf'
That's nice and all, but there should be no reason to require a configuration
file when using "-u -q", which *only* reports on version number mismatches.
It seems that $opt_q should be skipping something and is not doing so.
("-u -q" is the replacement for the old "-i" option. When using "-u -q",
pkg_chk should check the versions of installed packages and then simply exit
without further processing.)
Don't have a pkgchk_update config file, and run:
$ pkg_chk -u -q
This is new stuff in pkg_chk, so I'm leery of touching it lest it breaks
something. I only use pkg_chk for *checking* for changes; I have never
used it for actually doing upgrades (as I use "make replace" most of the
time, not "make update").