bogus warning from pkg
Mark Millard
marklmi at yahoo.com
Mon Feb 15 20:13:02 UTC 2021
Steve Kargl sgk at troutmask.apl.washington.edu wrote on
Mon Feb 15 19:10:36 UTC 2021 :
> 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.
I expect that "pkg info pkg" will report something
like:
. . .
Architecture : FreeBSD:13:amd64
. . .
Annotations :
FreeBSD_version: 13?????
. . .
I'm unclear if you build your own ports vs. use
pkg install to get ones from the FreeBSD servers.
But, either way, if I understand right, the warning
implies the above (presuming you have not forced
a definition of ABI). I'm not sure if a definition
of ABI can lead to such notices when it mismatches
with the architecture/annotations for pkg.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-ports
mailing list