Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2021 12:39:13 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: bogus warning from pkg
Message-ID:  <20210215203913.GA86309@troutmask.apl.washington.edu>
In-Reply-To: <CAN6yY1veKTN25oq1bcfExeZ927uuPKgjB6jBgArCPqZzYxFBtw@mail.gmail.com>
References:  <20210215191031.GA86060@troutmask.apl.washington.edu> <CAN6yY1veKTN25oq1bcfExeZ927uuPKgjB6jBgArCPqZzYxFBtw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.

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.

BTW, there is no documentation as what 'pkg bootstrap -f'
does.  In particular, the -f option is no described.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210215203913.GA86309>