Warning: Major OS version upgrade detected

Xavier Humbert xavier at groumpf.org
Mon Feb 1 08:03:57 UTC 2021


[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 at 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 at 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



More information about the freebsd-ports mailing list