Subject: Re: pkg_add OS mismatch
To: Geert Hendrickx <geert.hendrickx@ua.ac.be>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 07/18/2005 10:08:49
On Sat, Jul 16, 2005 at 07:14:58PM +0200, Geert Hendrickx wrote:
> I've always been told that OS version mismatches are not fatal for pkg_add,
> but when I try this:
>
> > pkg_add zsh
>
> It says:
>
> > pkg_add: Package `ftp://ftp.fr.netbsd.org/pub/NetBSD/packages/pkgsrc-2005Q2/NetBSD-2.0/i386/All/zsh-4.2.5.tgz' OS mismatch:
> > pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0.2 (this host)
> > pkg_add: install script returned error status
> > pkg_add: 1 package addition failed
>
> Even with -f, pkg_add gives the same error.
>
> Strangely enough, for some other packages, like links, it works fine.
>
> How can I install binary packages on my 2.0.2 system?
the problem isn't the OS mismatch (that's only a warning, unless
indicated otherwise), the real problem is:
> > pkg_add: install script returned error status
have you tried pkg_add -v to see what might be going wrong?
grant.