13.2-RELEASE-p11 to 13.3-RELEASE?

I have a FreeBSD 13.2 box;

Bash:
[FreeBSD-root@me:~]# freebsd-version -kru
13.2-RELEASE-p11
13.2-RELEASE-p11
13.2-RELEASE-p12


[FreeBSD-root@me:~]# uname -a
FreeBSD me 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 GENERIC amd64

I'd like to upgrade it to 13.3-RELEASE. However these both look scary;

Bash:
[FreeBSD-root@me:~]# pkg upgrade
Updating FreeBSD repository catalogue...
Fetching data.pkg: 100%    7 MiB   3.7MB/s    00:02
Processing entries:   0%
Newer FreeBSD version for package zziplib:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1303001
- running kernel: 1302001
Ignore the mismatch and continue? [y/N]: n
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:13:amd64
Processing entries:   0%
Unable to update repository FreeBSD
Error updating repositories!

and:

Bash:
[FreeBSD-root@me:~]# freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 13.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files are affected by updates. No changes have
been downloaded, however, because the files have been modified
locally:
/etc/ssh/sshd_config
No updates needed to update system to 13.2-RELEASE-p12.
WARNING: FreeBSD 13.2-RELEASE-p11 HAS PASSED ITS END-OF-LIFE DATE.
Any security issues discovered after Tue Jul  2 02:00:00 CEST 2024
will not have been corrected.

So should I go directly with this?
freebsd-update -r 13.3-RELEASE upgrade
(and the rest commands after)

Thanks in advance.
 
Nothing I see is scary. Concerning /etc/ssh/sshd_config, this has no importance. You can search on the forum for the details. 13.2-RELEASE is EOL since april 2024. So the repositories are now built on a 13.3-RELEASE.

Upgrade without hesitation, but with all the usual precautions (make a BE if you have zfs on root for instance).
 
I do have ZFS, and thank you both SirDice Emrion , the upgrade was smooth. Now I have 13.3-RELEASE-p5.

I'd like to continue further to the recommended production version which is 14.1 I guess.

So, would you suggest me proceed from 13.3 to 14.0 and then from 14.0 to 14.1? Or directly from 13.3 to 14.1?

Thank you.
 
If you have ZFS freebsd-update(8) will create them, by default.
For all my machines, I set CreateBootEnv to no in /etc/freebsd-update.conf and I advise people to do the same. Because if not, one day you will wake with dozen of GiB held by these BEs. They aren't automatically deleted and their names are too long. I prefer to manage BE myself. I make one before each update or whatever and I keep only the two last, so the list is always clean and the taken disk space is reasonable.

So, would you suggest me proceed from 13.3 to 14.0 and then from 14.0 to 14.1? Or directly from 13.3 to 14.1?
Yes and no. It depends. Basically, the freebsd-update script is perfectly able to upgrade from 13.x to 14.x. But, there is a problem with 14.1. The packages you can install with pkg are built for the moment on a 14.0-RELEASE. If you don't use software with kernel module installed, there will be no problem. But, if you have a third-party kernel module installed like nvidia video driver or drm (intel/amd GPU), there is a chance they won't load or will crash the system.

So you have several choices:
- You don't use any third-party kernel module: go to 14.1-RELEASE.
- Install 14.0-RELEASE and wait until the repositories get built on 14.1-RELEASE. (I think in october).
- Compile yourself on your new upgraded 14.1-RELEASE the kernel modules you need (ports).

In all cases, always deactivate the loading of third-party kernel modules before the first reboot. Complete the upgrade (don't forget pkg-static upgrade -f when asked if it's a major upgrade which will be your case). Then, you can test with kldload, one by one, if your kernel modules work or not.

Of course, take a look at the release notes of 14.0 and eventually 14.1 to see if some changes may affect the way you use FreeBSD.
 
There’s no rush to the 14.x branch - 13.x is going to be supported for some time yet - 13.4 is due in a week or two.

2026 is the estimated EOL:


But if you want/need something in 14.x then you can definitely keep going on the upgrade path.
 
Back
Top