Date: Mon, 15 Feb 2021 17:10:54 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD ports <freebsd-ports@freebsd.org> Subject: Re: bogus warning from pkg Message-ID: <94934DBF-636A-44B4-986F-ED1FFA652B3B@yahoo.com> References: <94934DBF-636A-44B4-986F-ED1FFA652B3B.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl sgk at troutmask.apl.washington.edu wrote on Mon Feb 15 20:39:19 UTC 2021 : > On Mon, Feb 15, 2021 at 12:01:47PM -0800, Kevin Oberman wrote: > > On Mon, Feb 15, 2021 at 11:10 AM Steve Kargl < > > sgk at troutmask.apl.washington.edu> wrote: > >=20 > > > I have a system installed from late January FreeBSD-current > > > sources and at that point an up-to-date ports tree. All > > > installed ports where builtin after I installed FreeBSD. So, > > > I am running FreeBSD-14.0. For some reason, I am getting > > > bogus warnings from pkg. > > > > > > % pkg info > /dev/null > > > pkg: Warning: Major OS version upgrade detected. Running \ > > > "pkg bootstrap -f" recommended > > > > > > Short of running the bootstrap command, how do I get > > > rid of these messages, which are clearly bogus. > > > > > > -- > > > Steve > > > > > Are you sure that you reinstalled pkg since the move to 14? That = message > > means that pkg was built on a prior version of FreeBSD. As you build = ports > > and don't do packages, just build and install pkg and that should do = the > > trick. >=20 > Step 1). Install FreeBSD 13.0 on empty disk. > Step 2). Install git from ports and grab FreeBSD 14.0 src. > Step 3). Buildworld/kernel for FreeBSD 14.0 > Step 4). Install FreeBSD 14.0 and reboot. > Step 5). Delete all ports. > Step 6). Re-install pkg, portmaster, and 589 other ports. It does not sound like Step 6 was "rebuild ports and install" but just pkg install use, at least for pkg itself. main a53ce3fc4938 (2021-01-22 00:10:07 +0000) was "Bump CURRENT to 14.0", the earliest 14 you could have built in Step 3. The first main-i386 ports build with 30000+ queued after that was: p562431_sd6327ae8c which completed on Sat, 40:10:40 after it started on Sun, 24 Jan 2021 01:16:53 GMT . (There likely is more time for the build's material to be distributed to various servers. But I do not know how to track down those times.) Did you happen to to do step 6 before the first FreeBSD:14 ports showed up? If yes, then you were still working against FreeBSD:13 ports from pkg install; if no, then you should have gotten FreeBSD:14 ports. =46rom your description and the timings that I do not know how to track down, I can not tell what is likely. =3D=3D=3D 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?94934DBF-636A-44B4-986F-ED1FFA652B3B>