[SOLVED ]Re: Warning: Major OS version upgrade detected

2021-02-01 Thread Xavier Humbert

Dewayne,

Yesss ! Thanks it did the job !

I reinstalled port-maintenance-tools, and now the arch column in pkg DB 
is correct, FraaBDS:13:*


I dunno why the generated ABI in this file was wrong (line was commented 
out -> auto-detection)


Thanks again,

Cheers,

Xavier

On 01/02/2021 07:38, Dewayne Geraghty wrote:

A while ago, due to mismatching ABI, I had to insert into:
/usr/local/etc/pkg.conf
ABI = "freebsd:12:x86:64";
Perhaps explicitly stating "freebsd:13:x86:64"; may help?
BUT this will require maintenance. :/


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Warning: Major OS version upgrade detected

2021-02-01 Thread Xavier Humbert

[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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Warning: Major OS version upgrade detected

2021-01-31 Thread Dewayne Geraghty
A while ago, due to mismatching ABI, I had to insert into:
/usr/local/etc/pkg.conf
ABI = "freebsd:12:x86:64";
Perhaps explicitly stating "freebsd:13:x86:64"; may help?
BUT this will require maintenance. :/


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Warning: Major OS version upgrade detected

2021-01-31 Thread Rainer Hurling
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
> 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Warning: Major OS version upgrade detected

2021-01-30 Thread Mark Millard via freebsd-ports
Xavier Humbert xavier at groumpf.org wrote on
Sat Jan 30 22:02:51 UTC 2021 :

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


I stayed on main but how to follow from main to stable/N is of
interest. So I'll watch to see what you learn. (I only just
finished updating everything to 14, including all my
from-source ports builds, but skipping powerpc and powerpc64.)

It would be interesting to know the commit-id of the last
main branch commit that you had. This might be essential
to someone being able to figure out what happened.

author  Glen Barber   2021-01-22 00:06:26 +
committer   Glen Barber   2021-01-22 00:08:57 +
commit  bfd15705156b0436cfe79aea11868dcc0c6e078a (patch)
Create the stable/13 branch

author  Glen Barber   2021-01-22 00:10:07 +
committer   Glen Barber   2021-01-22 00:10:07 +
commit  a53ce3fc4938e37d5ec89304846203d2083c61a2 (patch)
Bump CURRENT to 14.0

There is not much time (minutes) after stable/13 was created
before main switched to 14.

The 30,000+ package builds did not start for more than a day
after that for main and for stable/13 (and each takes more
than 2 days to build):

main-amd64 default   build start: Sat, 23 Jan 2021 01:25:15 GMT

13stable-amd64 quarterly build start: Sun, 24 Jan 2021 01:33:13 GMT
13stable-amd64 default   build start: Sun, 24 Jan 2021 01:34:10 GMT

So it would seem unlikely you could have picked up a pkg that was
built for/from stable/13 or main as 14-CURRENT on Jan-22nd or soon
after.

This leaves me curious about what to avoid at such transitions.


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Warning: Major OS version upgrade detected

2021-01-30 Thread 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

Any help ?

Thanks,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"