Subject: bin/30658: 3.0_BETA: pkg_add broken for installing valid binary pkgs
To: None <email@example.com, firstname.lastname@example.org>
From: None <email@example.com>
Date: 07/03/2005 20:25:00
>Synopsis: 3.0_BETA: pkg_add broken for installing valid binary pkgs
>Arrival-Date: Sun Jul 03 20:25:00 +0000 2005
>Release: NetBSD 3.0_BETA
Hubert Feyrer <firstname.lastname@example.org>
System: NetBSD miyu 3.0_BETA NetBSD 3.0_BETA (MIYU) #1: Sat Jul 2 17:00:22 MEST 2005 feyrer@miyu:/home/cvs/src-3/sys/arch/i386/compile/obj.i386/MIYU i386
When building a binary pkg with "IGNORE_RECOMMENDED=yes" in
/etc/mk.conf, pkg_add refuses to install that package again
pkg_comp:default.conf# pkg_add mc-4.6.1rc4.1.tgz
pkg_add: Warning: package `/usr/pkgsrc/packages/i386/3.0/All/./mc-4.6.1rc4.1.tgz' was built for a different version of the OS:
pkg_add: NetBSD/i386 3.0_BETA (pkg) vs. NetBSD/i386 3.0 (this host)
pkg_add: Package `/usr/pkgsrc/packages/i386/3.0/All/./mc-4.6.1rc4.1.tgz' has
pkg_add: IGNORE_RECOMMENDED set: This package was built with
pkg_add: dependency recommendations ignored. It may have been
pkg_add: built against a set of installed packages that is
pkg_add: different from the recommended set of pre-requisites.
pkg_add: As a consequence, this package may not work on this
pkg_add: or other systems with a different set of packages.
pkg_add: 1 package addition failed
Fix pkg_add to not care for IGNORE_RECOMMENDED.
First creating a binary pkg and the not being able to install
it is a waste of time, energy and cpu cycles, and does not
follow the principe of having me the rope I want.
The only way to get that package installed by using -f
has too many negative side effects to be useful.
While there, it would be nice if that warning about the OS
version not matching would go away, as it can be expected that
3.0 and 3.0_BETA are compatible.