FreeBSD Update/Upgrade Steps
User documentation
27/11/2026
Ensure the existing FreeBSD installation is up to date with respect to security and errata patches:
freebsd-update fetch
freebsd-update install
For jails from the host:
Get jail version first
jexec nginx freebsd-version
Get version:
freebsd-version
running 15.0-RELEASE
Exit out of jail and run the following specifying the version:
freebsd-update -b /tank/jails/containers/redmine fetch --currently-running 15.0-RELEASE
freebsd-update -b /tank/jails/containers/redmine install
To update third-party software packages on FreeBSD, run pkg update followed by pkg upgrade as root (or with sudo / doas).
pkg update
pkg upgrade
For jails from the host:
pkg -c /tank/jails/containers/nginx update
pkg -c /tank/jails/containers/nginx upgrade
UPDATE RELEASE
freebsd-update -b /tank/jails/containers/squid --currently-running 15.0-RELEASE-p3 -r 15.1-RELEASE upgrade
Install the userland updates. Run the install step twice (the first pass stages files; the second installs the userland and applies the latest -p7 patches)
freebsd-update -b /tank/jails/containers/squid install
Installing updates...
Kernel updates have been installed. Please reboot and run
'freebsd-update [options] install' again to finish installing updates.
service jail restart squid
freebsd-update -b /tank/jails/containers/squid install
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 updates.
pkg -c /tank/jails/containers/squid update
pkg -c /tank/jails/containers/squid upgrade
freebsd-update -b /tank/jails/containers/squid install
src component not installed, skipped
Installing updates... done.