Subject: Broken pkgsrc tools
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 08/04/2007 20:56:00
I know this has been discussed MANY times over, but when upgrading older 
pkgsrc, I'm still occasionally having problems where neither pkg_delete -f 
nor (b)make update will properly remove a package. The latest instance is 
pax and tnftp on Mac OS X.

While it's trivial to do an rm -Rf /var/db/pkg/pax... whatever, it's not 
exactly intuitive for new users, nor is it meaningful to have a "-f" flag 
for pkg_delete if it doesn't really mean "force". Will this ever be fixed 
for good?

Also, lintpkgsrc (the very latest) is giving me this again (on another OS 
X system):

/usr/pkgsrc/www/apache2/Makefile: bmake: 
"../../devel/apr0/../../mk/../../devel/apr0/../../mk/pkg-build-options.mk" 
line 28: warning: Couldn't read shell's output for 
"/usr/local/sbin/pkg_info -K /var/db/pkg -Q PKG_OPTIONS apr 2>/dev/null 
|| { cd ../../devel/apr0  && /usr/local/bin/bmake 
_MAKE=/usr/local/bin/bmake OPSYS=Darwin OS_VERSION=8.10.1 
LOWER_OS_VERSION=8.10.1 LOWER_ARCH=i386 LOWER_OPSYS=darwin 
_PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20070802 show-var 
VARNAME=PKG_OPTIONS; }"
Version mismatch: 'mysql-client' 5.0.45 vs 4.1.22

Thanks,
John