Subject: Re: Updating pkg_install on NetBSD 4
To: None <>
From: John Nemeth <>
List: pkgsrc-users
Date: 09/23/2007 14:33:48
On Feb 13, 11:43am, Joerg Sonnenberger wrote:
} On Sat, Sep 22, 2007 at 09:43:57PM +0200, Christian Hattemer wrote:
} > I went to /usr/pkgsrc/pkgtools/pkg_install and did a "make update". This 
} > used to update the pkgtools in /usr/sbin with the new ones.
} >
} > However it installed the new files into /usr/pkg/sbin now, leaving those in 
} > /usr/sbin untouched.
} >
} > Did I miss something?
} No. This behaviour was changed as it created more problems than it
} fixed.

     Would you care to elaborate on these problems?  Otherwise, it
appears that this change is creating more problems then it fixes.
Having two incompatible copies of the pkgsrc tools is a bad thing!

} > Due to the default settings for $PATH the old versions in /usr/sbin are 
} > still the ones that are picked up.
} On the command line or by pkgsrc? pkgsrc itself should pick up the new

     The answer to this question is rather obvious.  Given that
/usr/pkg/* comes rather late in the default path, the new stuff won't
be picked up by default.

} version, otherwise you can set PKG_TOOLS_BIN to /usr/pkg/sbin.

     Why should anybody have to do something like this?  Yes, pkgsrc is
portable to many systems.  But, first and foremost, it is NetBSD's
packaging system.  It MUST work completely seemlessly on NetBSD!

}-- End of excerpt from Joerg Sonnenberger