Date: Tue, 16 Feb 2021 16:55:21 +0100 (CET) From: Ronald Klop <ronald-lists@klop.ws> To: freebsd-current@freebsd.org Subject: pkg vs uname troubles after upgrade to 14 Message-ID: <679869967.9.1613490921704@localhost>
next in thread | raw e-mail | index | archive | help
Hi, Upgraded from 13 to 14. # uname -UK 1400003 1400003 But elfdump on uname gives: note (.note.tag): FreeBSD 1300133 (NT_FREEBSD_ABI_TAG) # pkg -o OSVERSION=1400003 upgrade pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Updating database digests format: 100% Checking for upgrades (1 candidates): 100% Processing candidates (1 candidates): 100% Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pkg-1.16.2 (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:13:aarch64:64') Number of packages to be reinstalled: 1 How do I do this properly? Rebuilding name still gives it the ELF note of 1300133. It does not matter if I pass "-o OSVERSION=1400003" to pkg or not. Found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104, but I don't think it was really resolved. This is on aarch64. And why does pkg not use the version uname is reporting by -UK instead of the ELF note? Regards, Ronald. From owner-freebsd-current@freebsd.org Tue Feb 16 16:02:50 2021 Return-Path: <owner-freebsd-current@freebsd.org> Delivered-To: freebsd-current@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 BE54553D5CD for <freebsd-current@mailman.nyi.freebsd.org>; Tue, 16 Feb 2021 16:02:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dg5NB4tbhz4dDY for <freebsd-current@freebsd.org>; Tue, 16 Feb 2021 16:02:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 9A9F9210D1 for <freebsd-current@freebsd.org>; Tue, 16 Feb 2021 16:02:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 4C46227C0054 for <freebsd-current@freebsd.org>; Tue, 16 Feb 2021 11:02:50 -0500 (EST) Received: from imap38 ([10.202.2.88]) by compute3.internal (MEProxy); Tue, 16 Feb 2021 11:02:50 -0500 X-ME-Sender: <xms:qewrYPrIJalf4MJcnZqmdjenrIFiCr0l9MI_U4IwgD898k6ADNJr_g> <xme:qewrYJpKFVLqpYDE2CEdGrVz62GlVUi2FvoEZmgsA8tBqcrGKDrYW0eq8IM-jRgTD 0jhvltgETEFl9JK> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjedtgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddutddmnecujfgurhepofgfggfkjghffffhvffutgesthdtredtreer tdenucfhrhhomhepfdeurhgrnhguohhnuceuvghrghhrvghnfdcuoegsughrrghgohhnse fhrhgvvgeuufffrdhorhhgqeenucggtffrrghtthgvrhhnpefhvdfgtedtueevudejuefg hfekkeejfefgleekleevvdefuefhleevfeelledutdenucffohhmrghinhepfhhrvggvsg hsugdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegsughrrghgohhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddutd egvdefheekieegqddukedutdekheduqdgsughrrghgohhnpeephfhrvggvuefuffdrohhr ghesihhmrghprdgttg X-ME-Proxy: <xmx:qewrYMN3b10nqs2V9laYSkBAu2G8M8AhjvIS0h3dzy_BoFfLbq-C6g> <xmx:qewrYC6ctrSHHrh07EJJJYjFRY_LNFKCmE3hdTfgqqrHw_Lh7MehZg> <xmx:qewrYO6XvRzy5F082vvOPSg2crAykjaE_34UwIRmZGn4YLE_H58Eew> <xmx:quwrYAGZJCS-p94G8L6y-_KsMXoNhLuiQ8fmP83Uv3NFcFTITTg5Jw> Received: by mailuser.nyi.internal (Postfix, from userid 501) id C9A37CA005D; Tue, 16 Feb 2021 11:02:49 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-141-gf094924a34-fm-20210210.001-gf094924a Mime-Version: 1.0 Message-Id: <d9254cab-cc1f-4ef0-bcbb-b7624f57adb4@www.fastmail.com> In-Reply-To: <679869967.9.1613490921704@localhost> References: <679869967.9.1613490921704@localhost> Date: Tue, 16 Feb 2021 10:02:07 -0600 From: "Brandon Bergren" <bdragon@FreeBSD.org> To: "FreeBSD Current" <freebsd-current@freebsd.org> Subject: Re: pkg vs uname troubles after upgrade to 14 Content-Type: text/plain X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 16 Feb 2021 16:02:50 -0000 IIRC, the detection works by probing /bin/sh, make sure you upgraded your base properly. On Tue, Feb 16, 2021, at 9:55 AM, Ronald Klop wrote: > Hi, > > Upgraded from 13 to 14. > > # uname -UK > 1400003 1400003 > > But elfdump on uname gives: > note (.note.tag): > FreeBSD 1300133 (NT_FREEBSD_ABI_TAG) > > > # pkg -o OSVERSION=1400003 upgrade > pkg: Warning: Major OS version upgrade detected. Running "pkg > bootstrap -f" recommended > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > Updating database digests format: 100% > Checking for upgrades (1 candidates): 100% > Processing candidates (1 candidates): 100% > Checking integrity... done (0 conflicting) > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be REINSTALLED: > pkg-1.16.2 (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:13:aarch64:64') > > Number of packages to be reinstalled: 1 > > > How do I do this properly? Rebuilding name still gives it the ELF note > of 1300133. > It does not matter if I pass "-o OSVERSION=1400003" to pkg or not. > Found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104, but I > don't think it was really resolved. > > This is on aarch64. And why does pkg not use the version uname is > reporting by -UK instead of the ELF note? > > Regards, > Ronald. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Brandon Bergren bdragon@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?679869967.9.1613490921704>