From owner-freebsd-stable@freebsd.org Thu Oct 10 15:29:04 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 69F851419BC for ; Thu, 10 Oct 2019 15:29:04 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46pw3h265Zz4Dhm for ; Thu, 10 Oct 2019 15:29:04 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 464921419BA; Thu, 10 Oct 2019 15:29:04 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4608A1419B9 for ; Thu, 10 Oct 2019 15:29:04 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pw3h16CNz4Dhl; Thu, 10 Oct 2019 15:29:04 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id E70DB1FA15; Thu, 10 Oct 2019 15:29:03 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id D6B909503A; Thu, 10 Oct 2019 17:29:02 +0200 (CEST) Date: Thu, 10 Oct 2019 17:29:02 +0200 From: Baptiste Daroussin To: Bengt Ahlgren Cc: Ronald Klop , stable@freebsd.org Subject: Re: pkg thinks kernel is old Message-ID: <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> References: <1883214925.66.1570706728382@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qxnlderto6o2ues2" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2019 15:29:04 -0000 --qxnlderto6o2ues2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 10, 2019 at 03:44:03PM +0200, Bengt Ahlgren wrote: > Ronald Klop writes: >=20 > > Van: Bengt Ahlgren > > 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 after > >> 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 prints > > 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) should = be perfectly fine. Best regards, Bapt --qxnlderto6o2ues2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl2fTj4ACgkQY4mL3PG3 Plo/FRAA5KmwLGMzCtcoOraa4ANMRgaerOELELsRmTfn9KXtQb+yqMy4G5VId+7H iE+beQldi/hFWJ+PlRPuaBeQcJyjaCRXkCXoQGblPraUrjiLnh//6N/BxgP7MI+k t933BMtF3vYd8bkvcW851TFlJ+48HCFYYVY9zDg9cZtZezl1brsEh2FOQm7oqs0y gzs839N0sdvckFRbNbB14163OJnUUM5n6FUSb1vxfCdqequu1g+0CrkDo86JvmeC cglLUjer4RqnH0gjiBTzA5+A/8zY5JPH0JBpdP6sVjc2NwVBrymkZXt/zZ++xA8S ks2VEtRED04GVwyOACP2yFFJSkLaJv2lbpKon0aI9cZS+zC5+8oehGSTW/QVK8sX nqNRtiQX+RWFjm6aPO+OAtgm9yA6yewzw45xQyzb1+2VgQ78D5W5Ct+hgkLt5rj1 WmrJ3B6auEn3P7KN7pzt5SSlFTTTzX4u9z8NT2p4AvlTk2QmXbhYP5wgtLMxPhuP EqdOzAqxFIN9t+kesvZyAEiSNES9rKyW2vqZOSMHnJzxk/wwyYD/FaVmPVWtVobP KGvEGMS2HinuUFBD9epU+r8imxd8jOtju2C/TZGs0SOEE3IKjSrYT9osvvb+A7Un DiQje4hFlmUg6r0DxC5Q4ViH4O3NmbVqhgB4Mscp9oKqlNloL68= =iF4K -----END PGP SIGNATURE----- --qxnlderto6o2ues2--