Subject: Re: some issue with $OPSYS ?.. (Re: package > pkgsrc feature possible?)
To: Charlie Allom <charlie@rubberduck.com>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 02/11/2004 23:46:24
--ZcSDOt7TZFizttpn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 11, 2004 at 10:24:27PM +1100, Charlie Allom wrote:

> `ftp://ftp:-ftp@ftp.NetBSD.org/pub/NetBSD/misc/grant/pkgsrc/packages/=20
> SunOS/5.9/sparc/All/sudo-1.6.7.5.tgz' OS mismatch:
> pkg_add: SunOS/sparc 5.9 (pkg) vs. NetBSD/sparc 5.9 (this host)
> pkg_add: aborting.

you can force installation with -f ;)

this is because pkg_add needs to know the operating system name
according to pkgsrc at compile time, and it defaults to "NetBSD"
(I think I will get rid of that, though).

I believe I've fixed this in pkg_install now, could you please
update pkgtools/pkg_install and rebuild it?

grant.

--ZcSDOt7TZFizttpn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAKiQgluYOb9yiFXoRAvFKAKCPtKzyOI7mjZtAK8PyzyKtfI6xDACfdGIF
2IKJTCwi1IEIVDu+W05yF8E=
=uz20
-----END PGP SIGNATURE-----

--ZcSDOt7TZFizttpn--