Subject: Re: pkgsrc and update
To: Robert Cates <robert@kormar.net>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: netbsd-users
Date: 07/26/2005 15:47:41
On Tue, Jul 26, 2005 at 03:31:39PM +0200, Robert Cates wrote:
> What does this mean: pkg_install-20050718: version mismatch -
> pkg_install-20050318
>
> and what should I do about it?  I did pkg_chk -g and now pkg_chk -r.
That (obviously) means there's a newer version in pkgsrc.  But pkg_install
is a bit special, you should cd /usr/pkgsrc/pkgtools/pkg_install && make
update.  

After pkg_chk -r, you can do pkg_chk -ask.  Unless pkg_chk -r removed
pkg_chk too, in that case you should manually rebuild that, first (using
make install in /usr/pkgsrc/pkgtools/pkg_chk).  

GH