Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2019 11:46:49 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Bengt Ahlgren <bengt.ahlgren@ri.se>
Cc:        Ronald Klop <ronald-lists@klop.ws>, stable@freebsd.org
Subject:   Re: pkg thinks kernel is old
Message-ID:  <20191011094649.nvemaxf75wzqd67x@ivaldir.net>
In-Reply-To: <uh7pnj31v15.fsf@P142.sics.se>
References:  <uh7h84h4n1q.fsf@P142.sics.se> <1883214925.66.1570706728382@localhost> <uh7imowyau4.fsf@P142.sics.se> <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> <uh7pnj31v15.fsf@P142.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help

--5axnvqluxlzdmfr4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 11, 2019 at 11:38:46AM +0200, Bengt Ahlgren wrote:
> Baptiste Daroussin <bapt@FreeBSD.org> writes:
>=20
> > On Thu, Oct 10, 2019 at 03:44:03PM +0200, Bengt Ahlgren wrote:
> >> Ronald Klop <ronald-lists@klop.ws> writes:
> >>=20
> >> > Van: Bengt Ahlgren <bengt.ahlgren@ri.se>
> >> > Datum: woensdag, 9 oktober 2019 23:38
> >> > Aan: stable@freebsd.org
> >> > Onderwerp: pkg thinks kernel is old
> >> >>
> >> >> I've ran into this on my 11.3-STABLE system:
> >> >>
> >> >> # uname -K
> >> >> 1103500
> >> >> # pkg update -f
> >> >> Updating ivyp repository catalogue...
> >> >> Fetching meta.txz: 100%    560 B   0.6kB/s    00:01    Fetching
> >> >> packagesite.txz: 100%  410 KiB 419.9kB/s    00:01    Processing
> >> >> entries:   0%
> >> >> Newer FreeBSD version for package zziplib:
> >> >> To ignore this error set IGNORE_OSVERSION=3Dyes
> >> >> - package: 1103000
> >> >> - running kernel: 1102509
> >> >> Ignore the mismatch and continue? [Y/n]:
> >> >>
> >> >> I build my own packages with poudriere, and have just switched from=
 an
> >> >> 11.2-REL to an 11.3-REL jail.  I didn't force-upgrade everything af=
ter
> >> >> the switch, perhaps that's needed to make pkg recognise the correct
> >> >> kernel version?
> >> >>
> >> >> Bengt
> >>=20
> >> > This message of pkg is misleading.
> >> >
> >> > It looks at /bin/sh or something like that for the version. And prin=
ts
> >> > that as the 'kernel' version. So if you did an incremental build and
> >> > /bin/sh was not changed the version stays the same.
> >> > To fix it you can do a clean buildworld/installworld.
> >> >
> >> > Regards,
> >> > Ronald.
> >>=20
> >> That might well be it - I've done some buildworld:s with -DNO_CLEAN
> >> lately.  I'll test - thanks for the tip!
> >
> > Can you provide the uname -U information (building with -DNO_CLEAN) sho=
uld be
> > perfectly fine.
>=20
> Thanks for looking into this!
>=20
> $ uname -U
> 1103500
>=20
> Let me know if there is something else I can check before I do a full
> buildworld on this system!

What are the output of pkg config osversion
and pkg -o ABI_FILE=3D/usr/bin/uname config osversion
please

Best regards,
Bapt

--5axnvqluxlzdmfr4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl2gT4YACgkQY4mL3PG3
Plql0xAAxt2zGrSHjBOlDMLPYvHtP5NdMPNnh7gzI9ANeq2It2WS6jqyWVCXCus6
pI1UIpGyTbjTo7x95qP8KBcuwFIoX6ZC9hE9Kr34DKTFEK9KBb5qRZ1CMavuztj/
ZnqFyHGAI5e0OL6wH488acfiTKvwyoswXo1CuPzRba/5BiJWsZeuIP4OPN/CyEPO
p4dB/ZtwgbegMhm+z90o3WOCZA/O7ysoUCkYN36aGzYdv31ws6eBl3vK2DOh5rs/
J00vJUoCz+zsxfNV1DyeinFPF4Jej+umtw12ChCbMQyMDQerxvCnzu9+nj1vpYBe
w9lz6odOuhj9z0VVMXL+9lz/86bdep2K5Spx3bU2n1pzfIqFeJQN3twsWPkGOy7i
xZZ8ptyJE96Y4d+NUcSiZZwaX8/w1qcSryl6BMeOLAaqhug+ThUpytSJX1aAKZoG
9YFPL6xAZMxKLaKLMs/uF7RbSsOvxGGcYBZAtwuJGue2ykiJlAC7cz2ufxcA3w+F
1/IBPzYimE3oNwqq3G+lAVh4HuMfPhekWKJJtxH3nkQRhCqfuhZjRE9VRefjxMKa
+65KbVRRcyg7mDNyGi2PyGIYrttinijSl/acsaoRW7DKMIAQaPj3loT8Z6PDcTd5
hrII6w+7GmvC13hpuavjpttyHu0eaCUT3M9U2cB29j8gjH2Ff1w=
=LD4z
-----END PGP SIGNATURE-----

--5axnvqluxlzdmfr4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191011094649.nvemaxf75wzqd67x>