Subject: pkg_chk fails w/ readonly pkgsrc tree
To: None <pkgsrc-users@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: pkgsrc-users
Date: 10/12/2007 00:52:07
Hi,

I'm trying to update to pkgsrc-2007Q3 using pkg_comp. In mk.conf, I've 
put the following in mk.conf...

PKGCHK_CONF=/etc/pkgchk.conf

... as the only pkg_chk related option. Here's the command line and how 
it fails...

# pkg_chk -sukav
Variable MAKECONF = /etc/mk.conf
Variable PKGSRCDIR = /usr/pkgsrc (using default)
Variable AWK = /usr/bin/awk
Variable GREP = /usr/bin/grep
Variable GZIP_CMD = /usr/bin/gzip -nf -9
Variable ID = /usr/bin/id
Variable PACKAGES = /Volumes/Chacachacare/pkgsrc-packages
Variable PKGCHK_CONF = /etc/pkgchk.conf
Variable PKGCHK_NOTAGS =
Variable PKGCHK_TAGS =
Variable PKGCHK_UPDATE_CONF =
Variable PKG_ADD = /usr/pkg/sbin/pkg_add -K /var/db/pkg
Variable PKG_DBDIR = /var/db/pkg
Variable PKG_DELETE = /usr/pkg/sbin/pkg_delete -K /var/db/pkg
Variable PKG_ADMIN = /usr/pkg/sbin/pkg_admin -K /var/db/pkg
Variable PKG_INFO = /usr/pkg/sbin/pkg_info -K /var/db/pkg
Variable PKG_SUFX = .tgz
Variable SED = /usr/bin/sed
Variable SORT = /usr/bin/sort
Variable SU_CMD = /usr/bin/sudo /bin/sh -c
Variable TSORT = tsort -q
Enumerate PKGDIRLIST from installed packages
Append to PKGDIRLIST based on config /etc/pkgchk.conf
Variable OPSYS = Darwin
Variable OS_VERSION = 8.10.3
Variable MACHINE_ARCH = i386
unset TAGS=
set 
TAGS=dhcp-206,dhcp-206.zabrico.com,Darwin-8.10.3-i386,Darwin-8.10.3,Darwin-i386,Darwin,8.10.3,i386


<<< packages omitted >>>

/usr/pkg/sbin/pkg_chk: line 853: 
/usr/pkgsrc/pkgchk_update-dhcp-206.zabrico.com.conf: Permission denied