Subject: RE: pkgsrc and update
To: None <ghen@telenet.be>
From: Robert Cates <robert@kormar.net>
List: netbsd-users
Date: 07/26/2005 15:31:39
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.

Thanks,
Robert

-----Original Message-----
From: netbsd-users-owner@NetBSD.org
[mailto:netbsd-users-owner@NetBSD.org]On Behalf Of Geert Hendrickx
Sent: Dienstag, 26. Juli 2005 15:12
To: Robert Cates
Cc: lama; netbsd-users@netbsd.org
Subject: Re: pkgsrc and update


On Tue, Jul 26, 2005 at 03:05:45PM +0200, Robert Cates wrote:
> and now I do not know what all packages have been updated or deleted!!
> Funny thing is, I had just installed all of xorg yesterday!  I'm getting
> pretty angry at NetBSD and this pkgsrc problem!!

Start with "pkg_chk -g" to generate a list of the packages you had before.
Then remove the outdated ones with "pkg_ckh -r" and add them again with
"pkg_chk -ask" (or -abk if you want to use binary packages).  This way
packages are build only once, and you know what you're missing if something
fails.

GH