Subject: pkgsrc and 'pkg_info -K'
To: None <netbsd-users@netbsd.org>
From: Eric Gustafson <ericg-netbsd-users@elfwerks.org>
List: netbsd-users
Date: 02/02/2004 20:33:20
I'm having a problem getting anything (including pkg_install) to compile in my pkgsrc tree.  There error I'm getting:

-------------------------------------
dash# pwd
/usr/pkgsrc/pkgtools/pkg_install
dash# make
pkg_info: unknown option -- K
usage: pkg_info [-BbcDdFfIikLmnpqRrSsVvh] [-e package] [-l prefix]
                pkg-name [pkg-name ...]
       pkg_info -a [flags]
===> Unable to satisfy dependency: >=none
dash# uname -a
NetBSD dash 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Mon Apr  7 10:27:16 UTC 2003 autobuild@cs20.apochromatic.org:/autobuilder/build/netbsd-1-6/sparc64/OBJ/autobuilder/build/netbsd-1-6/src/sys/arch/sparc64/compile/GENERIC sparc64
dash#
-------------------------------------
OS:    NetBSD-1.6.1 (freshly installed from the FTP tarballs)

In digging through the online (netbsd.org) man pages, it looks like the -K flag got added to pkg_info sometime after 1.6.1 came out.  I'm not overly familiar with the internals of the packages(7) and the pkgsrc system.  Can someone give me a pointer as to how I can upgrade my pkg_info so I can upgrade the packages tools, please?

Thanks,
Eric