Date: Thu, 10 Oct 2019 17:24:52 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Ronald Klop <ronald-lists@klop.ws> Cc: Bengt Ahlgren <bengt.ahlgren@ri.se>, stable@freebsd.org Subject: Re: pkg thinks kernel is old Message-ID: <20191010152451.zumzbrsfqdo3his4@ivaldir.net> In-Reply-To: <1883214925.66.1570706728382@localhost> References: <uh7h84h4n1q.fsf@P142.sics.se> <1883214925.66.1570706728382@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--7pmwys7n5g6vxyzv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 10, 2019 at 01:25:28PM +0200, Ronald Klop wrote: > This message of pkg is misleading. >=20 > It looks at /bin/sh or something like that for the version. And prints th= at 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. >=20 > Regards, > Ronald. I do agree the message is misleading, It should say "running world". It does not look anymore at /bin/sh because of the incremental build proble= m, it looks at uname which is always updated for uname -U during incremental buil= ds. (and falls back on /bin/sh if uname does not exist). so it says the userland of the running system is not inlined with the versi= on the packages where built for. Best regards, Bapt --7pmwys7n5g6vxyzv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl2fTTsACgkQY4mL3PG3 Plq0lQ//flk+++BV4mZV7sFoVwjRp+rTYpW5zw6SwKDPjHOjKEOymh8VJqb2/UGA 4wAWwGdQglipR0kg40CpI/UvZCGRBbJmipyfg2EqRx0pdd7GxAHa4DJlKlE36llO qfrICos5Nx13Dx/DruRrdKorO9BZqtE2pgDVIfbcjADMiLdX3smvJ+OBwNFE7D83 fFEcvQOAtt8ctlM1QxfEStf9nEseGyh1Wb54WLSOXmS9K6r5LlvMw60TWaQbBB5E eShlZil8fLy23UoBIzFyLx063Pgr/ZOq34rPNcmmzULlGqQrovsHkaTvtqQDqfPF zIj8kZIhNVeaVhM+zfslUjYGs6Rj33FXeM7nmL6KBsLun/15Fvp9j1PVOAv3319T Aj18P/HOkhQDHW8grUOUP/Qq6M1YGuHZADFbZZwDGfVpGYB1uVjd7ZJyyl9RQjaP jeCAjT5dVvk1c3SNcBBFf63lgOeWq093Bk1Rf/+dzaJtPNpbZ/xlWJXPACwdViPu F5pWets49ddaN93g+OLH7o4lxuUyYYmgTwJOgbyrbh+roew8Ujk9fMWxSM9bZVB6 NINdF4oKSNIIU4Flv51I97MAvRL1gvi0uZdyTmxdHga7hcmZ4kVTiRK28sh0CQ5c 3XZ16wl484eIjIIMTkt3+E0c/vE7V5+tXk3+Dq+1rvwLQvfM6L8= =xBtv -----END PGP SIGNATURE----- --7pmwys7n5g6vxyzv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191010152451.zumzbrsfqdo3his4>