IT lexicon › Infra & Ops › sysupgrade

sysupgrade

Infra & Ops På svenska → Updated: 2026-11-08

OpenBSD's command for upgrading the base system to the next release with one line and a reboot.

Before OpenBSD 6.6 (2019) you upgraded by booting install media, picking Upgrade and answering questions, or by unpacking the file sets by hand and hoping. sysupgrade fetches the sets for the next release, or the latest snapshot with -s, checks them with signify and drops in a special kernel, bsd.upgrade, to be booted next. That kernel runs the installer in upgrade mode without asking anything, then reboots into the new system.

It only touches the base system. Packages are brought up to date afterwards with pkg_add -u, and changed configuration files are merged with sysmerge. Within a release, its sibling syspatch does the job.

← Back to the lexicon