Re: How to upgrade a 15.0 pkgbase system to 15.1?
Tamás Nagy <[email protected]> Wed, 17 Jun 2026 10:06:06 +1000
| Newsgroups | gmane.os.freebsd.stable |
|---|---|
| Message-ID | <CACyGuju_TdrjZRsxhxo3D1ui7OWvU01DPrNKzf2-SzGpSnE5Ag@mail.gmail.com> |
I am following the link
"https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg", but
the command "pkg -oABI=FreeBSD:15:$(uname -p) -oOSVERSION=1501000
upgrade -r FreeBSD-base" is not working on my 15.0.
1. The handbook does not say that "FreeBSD-base" must be enabled which
is disabled by default. This is very confusing.
2. Mike provided the steps to enable it in the chain above but it
still does not work for me. It reports that "FreeBSD-base repository
is up to date." "-oOSVERSION=1501000" has no effect.
3. I managed to upgrade my Lenovo yesterday but I actually forced the
minor version replacing ${VERSION_MINOR} with 1 and and used
signature_type:"none".
4. I am trying to do the right thing on my second install, can you help?
On Tue, 16 Jun 2026 at 23:58, Mike Tancsa <[email protected]> wrote:
>
> On 6/16/2026 9:03 AM, [email protected] wrote:
> > would be nice to link to/mention in announcement, like we previously used to do
> >
> > -------- Original Message --------
> > On Tuesday, 06/16/26 at 16:55 Lexi Winter <[email protected]> wrote:
> > Patrick M. Hausen wrote in <[email protected]>:
> >> I looked for the answer in the announcement and in the release notes
> >> without success. Would someone be so kind to enlighten me?
> > https://www.freebsd.org/releases/15.1R/upgrading/#upgrade-pkg
> >
> I just tried this on my test VM and it worked without issue.
>
> bectl create -r pre-15.1
> pkg upgrade -yr FreeBSD-ports pkg
> pkg -oABI=FreeBSD:15:amd64 -oOSVERSION=1501000 upgrade -r FreeBSD-base
> find /etc /usr/local/etc -name '*.pkgnew' -ls
>
>
> cd /boot/efi/efi/boot/
> cp /boot/loader.efi bootx64.efi
>
>
> 0{cage2}# freebsd-version
> 15.1-RELEASE
> 0{cage2}#
>
>
> cat /etc/pkg/FreeBSD.conf
> #
> # To disable a repository, instead of modifying or removing this file,
> # create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
> #
> # mkdir -p /usr/local/etc/pkg/repos
> # echo "FreeBSD-ports: { enabled: no }" >
> /usr/local/etc/pkg/repos/FreeBSD.conf
> # echo "FreeBSD-ports-kmods: { enabled: no }" >>
> /usr/local/etc/pkg/repos/FreeBSD.conf
> #
> # Note that the FreeBSD-base repository is disabled by default.
> #
>
> FreeBSD-ports: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> FreeBSD-ports-kmods: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest${VERSION_MINOR}",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> FreeBSD-base: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
> enabled: no
> }
>
> 0{cage2}# cat /usr/local/etc/pkg/repos/*
> FreeBSD-ports-kmods: { enabled: no }
> FreeBSD-base: { enabled: yes }
> 0{cage2}#
>
> ---Mike
>
> >
>