Re: PKGBASE Upgrade 15.0-RELEASE to 15.1-BETA2

vermaden <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers,gmane.os.freebsd.stable
Message-ID <acoxclijwwrgdyyizdyy@mgdt>
> Yeah, we realized earlier today that we forgot about that.
> We're working on it.

I was able to upgrade FreeBSD 15.0-RELEASE to 15.1-BETA2 with ZFS Boot Environments like that:



host # uname -prism
FreeBSD 15.0-RELEASE amd64 amd64 GENERIC

Create '/usr/local/etc/pkg/repos/FreeBSD.conf' file with following contents.

host # cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD-base: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_1",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
  enabled: yes
}

Update pkg(8) databases.

host # pkg update -f

Create new ZFS BE and chroot(8) into it.

host # beadm create NEW

host # beadm mount NEW /tmp/NEW

host # chroot /tmp/NEW/

BE # mount -t devfs devfs /dev

First upgrade pkg(8) tool.

BE # pkg upg -r FreeBSD-ports pkg

Then upgrade FreeBSD Base System with PKGBASE.

BE # pkg upg -r FreeBSD-base

BE # exit

host # umount /tmp/NEW/dev

host # beadm list
BE      Active Mountpoint  Space Created
default NR     /          630.2M 2026-03-13 13:29
NEW     -      /tmp/NEW   854.2M 2026-05-09 23:15

host # reboot

At loader(8) hit '8. Boot Environments' and then hit '2. Active' to see something like this there:

  2. Active: zfs:zroot/ROOT/NEW (2 of 2)

Then hit [ENTER].

After boot you will se 15.0-RELEASE upgraded to 15.1-BETA2 system.

host # uname -prism
FreeBSD 15.1-BETA2 amd64 amd64 GENERIC



hope that helps.

Regards,
vermaden
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.