Re: How to upgrade a 15.0 pkgbase system to 15.1?
Date: Tue, 16 Jun 2026 13:57:19 UTC
On 6/16/2026 9:03 AM, Wismos@proton.me 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 <ivy@freebsd.org> wrote:
> Patrick M. Hausen wrote in <67CF60AB-5011-4D25-A9FF-74B85CF31732@punkt.de>:
>> 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
>