bogus warning from pkg

Kevin Oberman rkoberman at gmail.com
Mon Feb 15 20:02:06 UTC 2021


On Mon, Feb 15, 2021 at 11:10 AM Steve Kargl <
sgk at troutmask.apl.washington.edu> wrote:

> 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.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list