Re: How to upgrade a 15.0 pkgbase system to 15.1?
Mike Tancsa <[email protected]> Tue, 16 Jun 2026 09:57:19 -0400
| Newsgroups | gmane.os.freebsd.stable |
|---|---|
| Message-ID | <[email protected]> |
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 >