NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD 10.1 and osabi
Hi Benny,
Benny Siegert wrote:
osabi is a sort of a sentinel package. The things that depend closely
on the kernel version, and that should be rebuilt when you upgrade the
OS, depend on osabi.
The thing about forcing the check is that you cannot be sure the
software that depends on it will actually work.
I understand it is tricky, but I also remember that Packages are issued
for "major" release, so there are no specific 10.1 packages, since they
also work on 10.0, IIRC and here we have the mismatch.
However, you are right that this plays poorly with binary packages. I
am not sure what a good solution for this is. The binary packages are
always built for the .0 release.
Should pkgin or pkg_install have special support for osabi in binary
packages?
Maybe. The issue actually happens only after an OS upgrade. e.g. if you
do 9.x to 10.0 you need to update it and probably "check", but from 10.0
to 10.1 not.. once upgraded I suppose it actually stays?
I decided to force it as propsed... but pkgin still cannot do:
[1/1] installing osabi-NetBSD-10.0...
The Operating System version (10.1) does not match 10.0
To force installation of this package, add CHECK_OSABI=no to
pkg_install.conf
pkg_install warnings: 0, errors: 1
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
but see:
# cat /etc/pkg_install.conf
PKG_DBDIR=/usr/pkg/pkgdb
CHECK_OSABI=no
I tried using pkg_add directly, but the the same error.
Riccardo
Home |
Main Index |
Thread Index |
Old Index