Subject: Re: up-to-date pkg_tools along netbsd-2?
To: Greg Troxel <gdt@ir.bbn.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/01/2005 14:19:00
On 29 Jun 2005, Greg Troxel wrote:

> I don't understand the pkg tools well enough to submit a pullup
> request.  So, I have submitted bin/30632 (pkg tools in netbsd-2 are
> old, basically).

Thanks.

The problem is worse than you may notice though -- accept I did not
realize it until now.

It is broken even if you don't use pkgsrc.

See my PR #30347
 http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=30347

I use pkg_add to install "apache" but got apache-2 which I did not want.
(But that is another issue.) So I pkg_deleted apache, apr and expat.

I used pkg_add to then install apache-1.3.33nb3. (These binary packages
were from the ftp.NetBSD.org server for 2.0 i386).

And it said:

===========================================================================
Installing files needed by instmp.01332b:

        /usr/pkg/etc/httpd/httpd.conf already exists.

        /usr/pkg/etc/httpd/magic already exists.

        /usr/pkg/etc/httpd/mime.types already exists.

===========================================================================

This was on a brand new NetBSD 2.0.2 system.

The binary packages are broken!

You must have a newer pkg_install or your configuration files,
directories, etc are not registered for proper cleanup.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/