Subject: Re: up-to-date pkg_tools along netbsd-2?
To: Greg Troxel <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 06/29/2005 09:14:34
On Wed, 29 Jun 2005, Greg Troxel wrote:

> I just updated source '-r netbsd-2' on a sparc64 box and did a full
> build/install.  This resulted in /usr/sbin/pkg_add etc. being too old
> for pkgsrc-head, and needing to build/install pkgtools/pkg_install.
> This isn't wrong per se, in that in general pkgsrc might need newer
> tools than what's installed and need to update them, but I had
> expected stable branches (netbsd-2, but not netbsd-2-0) to have recent
> pkg tools, at least recent enough for the most recent pkgsrc stable
> branch.  I realize there's a stability argument to be made for not
> pulling up such changes, but old pkg_add is in some sense already
> broken.
> Is this situation intended, or worthy of a PR?

The situation is not intended -- it is wrong.

Yes, a PR seems good. Or create a pullup request based on the changes that
are required and submit that instead:

One problem is we have two different locations for pkgsrc development --
in src/usr.sbin/pkg_install and also in pkgsrc/pkgtools/pkg_install.
Currently, all work should be done in src/usr.sbin/pkg_install first.
Although, pkgsrc/pkgtools/pkg_install is the real wide-spread use of the
code (unless you always use NetBSD -current).

 Jeremy C. Reed

 	  	 	 technical support & remote administration