Date: Sat, 30 Jan 2021 15:11:40 -0800 From: Mark Millard <marklmi@yahoo.com> To: xavier@groumpf.org, FreeBSD ports <freebsd-ports@freebsd.org> Subject: Re: Warning: Major OS version upgrade detected Message-ID: <AFEF84B2-00F6-4550-8BF5-6A6AC4DEA59B@yahoo.com> References: <AFEF84B2-00F6-4550-8BF5-6A6AC4DEA59B.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <gjb@FreeBSD.org> 2021-01-22 00:06:26 +0000 committer Glen Barber <gjb@FreeBSD.org> 2021-01-22 00:08:57 +0000 commit bfd15705156b0436cfe79aea11868dcc0c6e078a (patch) Create the stable/13 branch author Glen Barber <gjb@FreeBSD.org> 2021-01-22 00:10:07 +0000 committer Glen Barber <gjb@FreeBSD.org> 2021-01-22 00:10:07 +0000 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AFEF84B2-00F6-4550-8BF5-6A6AC4DEA59B>