Upgrading to a new release with pkgbase

Hello,

I recently installed two new system with pkgbase running 15.0-RELEASE.

Updating to get the latest patches with "pkg" has worked fine.

With 15.1-RELEASE around the corner, I have started to look into what the upgrade process will look like, but mostly I am somewhat confused.

Can anybody shed some light on what the procedure will look like?

Will there be a thorough explanation published along with the actual release on how to safely update to the new release using pkg?

Side note: I really like how OpenBSD does it where you basically run "sysupgrade" which does all the heavy lifting and you only have to do a few further bits manually depending on your setup.

Best regards,
Kristian
 
I quote myself:
abi=FreeBSD:15:amd64 # Case arch=amd64 and major version = 15.
osversion=1501000 # Want to upgrade to 15.1
# pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade


You can add -r FreeBSD-base if you don't want to upgrade others packages than base & kernel.
 
With 15.1-RELEASE around the corner, I have started to look into what the upgrade process will look like, but mostly I am somewhat confused.

Can anybody shed some light on what the procedure will look like?
Notice that your /etc/pkg/FreeBSD.conf contains a line like so:
url: "pkg+https://pkg.freebsd.org/${ABI}/base_release_${VERSION_MINOR}"
VERSION_MINOR is derived from the kernel so once you update the kernel, pkg will do the right thing. [At least that is my understanding!] But proper instructions will be in the release notes for 15.1. "pkg -vv" shows you the result of processing pkg config files.
 
I followed the procedure from my workstation But from a dedicated BE It must be said that I have automatic snapshots to two disks of the same machine And weekly manual backup to USB 3.0 enclosure 0 risk
 
Back
Top