Upgrade to FreeBSD 12.2

This short article illustrates the upgrade from FreeBSD 12.1 to FreeBSD 12.2.

Please take a full backup or create a snapshot before upgrading.

The whole upgrade process took about 30 minutes. This first 20 minutes where taken for download. During this time all applications where available to the users.

r@k:~ # uname -a
FreeBSD wnk 12.1-RELEASE-p10 FreeBSD 12.1-RELEASE-p10 GENERIC  amd64
root@wnk:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.1-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 12.1-RELEASE-p10.

WARNING: FreeBSD 12.1-RELEASE-p10 is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 2 months.
Sun Nov  1 09:58:28 UTC 2020

r@w:~ # freebsd-update upgrade -r 12.2-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base world/doc world/lib32

Fetching metadata signature for 12.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... 

Fetching files from 12.1-RELEASE for merging... done.
Preparing to download files... done.
Fetching 9567 patches..10..20..420..430 done.
Attempting to automatically merge changes in files... done.

....
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".

/usr/sbin/freebsd-update install
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

usr/sbin/freebsd-update install
Installing updates... done.

To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".

/usr/sbin/freebsd-update install
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

shutdown -r now

/usr/sbin/freebsd-update install
Installing updates...

find /var/db/freebsd-update/files -type f -mtime +60d -delete

Published: Nov. 1, 2020

Change Content

The information on this page is user generated content. The content does not claim to be complete or correct.

Everybody is invited to add or change the data. Just click on this link. No login or email is required. Thanks.