From owner-freebsd-ports@freebsd.org Mon Feb 1 08:03:56 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 EAE064F4D92 for ; Mon, 1 Feb 2021 08:03:56 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4DTgSW2sK1z4vMQ; Mon, 1 Feb 2021 08:03:54 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (unknown [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id 6DD135F75E; Mon, 1 Feb 2021 09:03:47 +0100 (CET) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with UTF8SMTP id 39072CEB15; Mon, 1 Feb 2021 08:09:02 +0100 (CET) X-Virus-Scanned: amavisd-new at groumpf.org Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8LMTP id YmqhWbiYOc85; Mon, 1 Feb 2021 08:08:31 +0100 (CET) Received: from [192.168.100.25] (feanor.groumpf.org [192.168.100.25]) by numenor.groumpf.org (Postfix) with UTF8SMTPSA id F2179CEA90; Mon, 1 Feb 2021 08:08:30 +0100 (CET) Subject: Re: Warning: Major OS version upgrade detected To: FreeBSD Ports ML Cc: Mathieu Arnold References: <386a03b7-2f24-e8b6-0042-ba7f7568c878@groumpf.org> From: Xavier Humbert Message-ID: <757a708f-2da4-71a6-c0be-731bfb3a5781@groumpf.org> Date: Mon, 1 Feb 2021 08:08:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Thunderbird/85.0 MIME-Version: 1.0 In-Reply-To: Content-Language: fr X-Rspamd-Queue-Id: 4DTgSW2sK1z4vMQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of xavier@groumpf.org has no SPF policy when checking 176.31.180.205) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[176.31.180.205:from]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[groumpf.org]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[176.31.180.205:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Mon, 01 Feb 2021 08:03:57 -0000 [Cc'ed to mat@ apologies for the intrusion] Hi, Rainer and others, I'va made some progress in resolving this very problem : I just reinstalled a port (port-maintenance-tool, which is a no-op, since tools are already installed), then browsed the pkg DB. I saw in the column arch : > FreeBSD:14:* while making with debugging flags shows me > OSVERSION        = 1300137 I've even manually set ABI to FreeBSD:13:amd64 in /etc/pkg/FreeBSD.conf There is something I clearly don't understand. Cheers, Xavier 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 -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer