From owner-freebsd-ports@freebsd.org Sun Jan 31 10:49:32 2021 Return-Path: Delivered-To: freebsd-ports@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 D6FE14EF32B for ; Sun, 31 Jan 2021 10:49:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DT7B449bnz4tRC for ; Sun, 31 Jan 2021 10:49:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: by mailman.nyi.freebsd.org (Postfix) id 8F3724EF32A; Sun, 31 Jan 2021 10:49:32 +0000 (UTC) Delivered-To: ports@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 8F01B4EF2AB for ; Sun, 31 Jan 2021 10:49:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from hmailer.gwdg.de (hmailer.gwdg.de [134.76.11.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DT7B43ln5z4tcZ for ; Sun, 31 Jan 2021 10:49:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1l6AIM-00063H-7n; Sun, 31 Jan 2021 11:49:30 +0100 Received: from krabat.raven.hur (10.250.9.200) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2044.4; Sun, 31 Jan 2021 11:49:29 +0100 Subject: Re: Warning: Major OS version upgrade detected To: Xavier Humbert References: <386a03b7-2f24-e8b6-0042-ba7f7568c878@groumpf.org> CC: From: Rainer Hurling Message-ID: Date: Sun, 31 Jan 2021 11:49:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <386a03b7-2f24-e8b6-0042-ba7f7568c878@groumpf.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.200] X-ClientProxiedBy: EXCMBX-12.um.gwdg.de (134.76.9.221) To EXCMBX-03.um.gwdg.de (134.76.9.218) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4DT7B43ln5z4tcZ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2021 10:49:32 -0000 Am 30.01.21 um 23:02 schrieb Xavier Humbert: > Hi, > > I was running 13-CURRENT, and as of 01/22 I switched to 13-STABLE > > Now, when I run any ports/pkg command - I use only ports-, I got > >> pkg-static: Warning: Major OS version upgrade detected.  Running "pkg >> bootstrap -f" recommended > No a big deal, I thought, but : > >> [root@numenor ~]# pkg bootstrap -f >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: y >> Bootstrapping pkg from >> pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest, please wait... >> Verifying signature with trusted certificate >> pkg.freebsd.org.2013102301... done >> pkg-static: Warning: Major OS version upgrade detected.  Running "pkg >> bootstrap -f" recommended >> Installing pkg-1.16.2... >> pkg-static: wrong architecture: FreeBSD:13:amd64 instead of >> *FreeBSD:14:amd64* >> package pkg is already installed, forced install >> Extracting pkg-1.16.2: 100% >> [root@numenor ~]# pkg check -Bd >> pkg: Warning: Major OS version upgrade detected.  Running "pkg >> bootstrap -f" recommended > > The message is still there. I never had 14-CURRENT on this system. > > Reinstalled ports-mgmt/pkg from source, didn't help I had the exactly same error message. It turns out, that in my /etc/pkg/FreeBSD.conf instead of '${ABI}' there was a hardcoded '13' in the url entry. Probably I did a bad job last time I 'repaired' that file after upgrading from 12.0-CURRENT to 13.0-CURRENT manually ;) This is how it works for me: #cat /etc/pkg/FreeBSD.conf FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } HTH, Rainer > > Any help ? > > Thanks, > > Xavier >