LoFa
Add Account
Login
Search
Title:
Tag1 for Path:
a single word in lower characters
Tag2 for Path:
List of alternative single tags:
one or many words in lower characters, separated by comma or space
Text:
<p>This article illustrates the upgrade from FreeBSD 14.4 to FreeBSD 14.5</p> <p>Take a full backup or create a snapshot before upgrading.</p> <p>The whole upgrade process will take about 15-20 minutes. During this time all applications are available to the users.</p> <p> <pre> <kbd>uname -r</kbd> 14.4-RELEASE-p12 <kbd>sudo freebsd-update fetch install</kbd> src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 14.4-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 14.4-RELEASE-p6. <kbd>date</kbd> Sun Nov 1 09:07:14 CET 2026 <kbd>sudo freebsd-update upgrade -r 14.5-RELEASE</kbd> src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from update2.freebsd.org... done. Fetching metadata signature for 14.4-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata files... done. Inspecting system... The following components of FreeBSD seem to be installed: kernel/generic world/base The following components of FreeBSD do not seem to be installed: kernel/generic-dbg world/base-dbg Does this look reasonable (y/n)? <kbd>y</kbd> Fetching metadata signature for 14.5-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. To install the downloaded upgrades, run 'freebsd-update [options] install'. <kbd>date</kbd> Sun Nov 1 09:26:21 CET 2026 <kbd>sudo /usr/sbin/freebsd-update install</kbd> src component not installed, skipped 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. <kbd>sudo /usr/sbin/freebsd-update install</kbd> src component not installed, skipped src component not installed, skipped Creating snapshot of existing boot environment... done. Installing updates... Restarting sshd after upgrade Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 1095. Performing sanity check on sshd configuration. Starting sshd. Completing this upgrade requires removing old shared object files. Please upgrade or rebuild all installed 3rd party software (e.g., programs installed with pkg or from the ports tree) and then run 'freebsd-update [options] install' again to finish installing update <kbd>uname -r</kbd> 14.4-RELEASE-p12 <kbd>shutdown -r now</kbd> <kbd>date</kbd> Sun Nov 1 10:14:31 CET 2026 <kbd>sudo freebsd-update fetch</kbd> src component not installed, skipped Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 14.5-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 2 metadata files... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 14.5-RELEASE-p3. <kbd>sudo pkg update && sudo pkg upgrade</kbd> Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-kmods repository catalogue... pkg: Repository FreeBSD-kmods has a wrong packagesite, need to re-create database Fetching meta.conf: 100% 168 B 0.2 kB/s 00:01 Fetching data: 100% 41 KiB 41.5 kB/s 00:01 Processing entries: 100% FreeBSD-kmods repository update completed. 276 packages processed. All repositories are up to date. Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-kmods repository catalogue... FreeBSD-kmods repository is up to date. All repositories are up to date. Checking for upgrades (5 candidates): 100% Processing candidates (5 candidates): 100% The following 2 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: rsync: 3.4.4_1 -> 3.5.1 [FreeBSD] xxhash: 0.8.3 -> 0.8.4 [FreeBSD] Number of packages to be upgraded: 2 600 KiB to be downloaded. Proceed with this action? [y/N]: y [1/2] Fetching rsync-3.5.1: 100% 449 KiB 459.8 kB/s 00:01 [2/2] Fetching xxhash-0.8.4: 100% 151 KiB 155.0 kB/s 00:01 Checking integrity... done (0 conflicting) [1/2] Upgrading xxhash from 0.8.3 to 0.8.4... [1/2] Extracting xxhash-0.8.4: 100% [2/2] Upgrading rsync from 3.4.4_1 to 3.5.1... [2/2] Extracting rsync-3.5.1: 100% </pre> </p> <h2>Cleanup after some days</h2> <p> <pre> <kbd>df -k</kbd> <kbd>sudo find /var/db/freebsd-update/files -type f -mtime +10d -delete</kbd> <kbd>df -k</kbd> <kbd>sudo zfs list -t snapshot </kbd> destroy old snapshots. Important: keep the latest!!! <kbd>ssudo zfs destroy -Rv zroot/ROOT/default@2026-12-08-05:52...</kbd> </pre></p>
URL:
Operation:
Delete
Update
Insert
Template Prompt