12月に15.0がリリースされたのでupgradeしました。
# uname -a
FreeBSD jsnsver.com 14.3-RELEASE -p3 FreeBSD 14.3-RELEASE-p3 GENERIC amd64
現在のバージョンを確認します。
# freebsd-update fetch

qを押下します。

# freebsd-update install
Creating snapshot of existing boot environment…done
Installing updates…
Restarting sshd after upgrade
Performing sanity check on sshd configuration.
Stopping sshd.
Waiting for PIDS: 1430.
Performing sanity check on sshd configuration.
Starting sshd.
done.
# freebsd-update upgrade -r 15.0-RELEASE
Looking up upgrade.FreeBSD.org mirrors…3 mirrors found.
Fetching metadata signature for 14.3-RELEASE from update2.freebsd.org…done
Fetching metadata index…done
Fetching 1 metadata patches. done.
Applying metadata patches… done.
Inspecting system… done.

Does this look reasonable (y/n)?
yを押下します。

30906・・・w

10819・・・ww


いくつか聞いてきますので、内容を確認してyを押下します。




qを押下します。

# freebsd-update install
Creating snapshot of existing boot environment…done.
Installing updates…
Kernel updates have been installed. Please reboot and run
‘freebsd-update [options] install’ again to finish installing updates.
# reboot
再起動します。
# freebsd-update install
Creating snapshot of existing boot environment…done.
Installing updates…
Restarting sshd after upgrade
Performing sanity check on sshd configuration.
Stopping sshd.
Waiting for PIDS: 1414.
Performing sanity check on sshd configuration.
Starting sshd.
Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party software (e.g.. programs
installed from the ports tree) and then run
‘freebsd-update [options] install’ again to finish installing updates.
Installing updates…から、更に時間がかかります。
環境にもよりますが気長に待ちましょう。
私の環境で (core i3 第6世代 RAM:8GB サーバー機) の古いマシンで、 次の Restarting sshd after upgrade が表示されるまで2時間ほどかかりました。
ちなみに開始から完了まで、スクリーンショットを撮りながらでしたが全部で4時間ほどかかっています。
pkgを再構築します。
# pkg update

# pkg upgrade


内容をよく読んでyかNを押下します。
pkg upgrade完了後、もう一度freebsd-update installを実行します。
# freebsd-update install
Creating snapshot of existing boot environment…done.
Installing updates…done.
# reboot
再起動します。
# uname -a
FreeBSD jsnsver.com 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC amd64
再起動後バージョンを確認します。
お疲れさまでした。

