Subject: pkgsrc question
To: None <netbsd-users@netbsd.org>
From: Mike Parson <mparson@bl.org>
List: netbsd-users
Date: 10/22/2001 11:34:20
I've got a NetBSD 1.4.2/i386 box that I colocate at an ISP.

I periodically update pkgsrc with sup and use lintpkgsrc to check the installed
pkgs for updates.

A few days ago, I developed a problem where none of the pkgs would finish installing:

-- start -- 
/usr/pkgsrc/sysutils # make update
===> Resuming update for lsof-4.58
===> Installing for lsof-4.58
install -c -s -o root -g wheel -m 2755 -g kmem  /usr/pkgsrc/sysutils/lsof/work/lsof_4.58/lsof /usr/local/sbin
install -c -o root -g wheel -m 444 /usr/pkgsrc/sysutils/lsof/work/lsof_4.58/lsof.man /usr/local/man/man1/lsof.1
install -c -o root -g wheel -m 555 /usr/pkgsrc/sysutils/lsof/work/lsof_4.58/scripts/* /usr/local/share/lsof
`/usr/pkgsrc/sysutils/lsof/work/.PLIST' is up to date.
===> Registering installation for lsof-4.58
awk: cmd. line:1: /#.*/ { next } NF > 0 { cmd = sprintf(\"PKG_DBDIR=/var/db/pkg /usr/sbin/pkg_info -e \\"%s\\"\", $1); system(cmd) }
awk: cmd. line:1:                                       ^ backslash not last character on line
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
-- end --

Any clues on which file I need to fix to get pkgsrc working properly again?

-- 
Michael Parson
mparson@bl.org