Active OpenBSD development is known as the -current branch. These sources are frequently compiled into releases known as snapshots.
Aggressive changes are sometimes pushed in this branch, and complications can arise when building the latest code or upgrading from a previous point in time. Some of the steps for getting over these hurdles are explained on this page. Make sure you've read and understand how to build the system from source before using -current and the instructions below.
In general, it's far easier to use snapshots, as developers will have gone through much of the trouble for you already.
You should always use a snapshot as the starting point for running
This process typically consists of downloading (and verifying) the appropriate
bsd.rd file from the
directory of your preferred mirror, booting from it,
(U)pgrade at the prompt.
Any installed packages should then be
upgraded after booting into the new system.
Upgrading to -current by compiling your own source code is discouraged for everyone except for experts, as difficult build-time crossing-points can occur often, and no assistance will be provided. In case of failure, use a snapshot to recover.
Most of these changes will have to be performed as root.
stopcommands of vmctl(8) has been changed to match a commonly expected style. Manual usage or scripting with vmctl must be adjusted to use the new syntax. For example, the old syntax looked like this:
# vmctl create disk.qcow2 -s 50GThe new syntax specifies the command options before the argument:
# vmctl create -s 50G disk.qcow2
innodb_additional_mem_pool_size, found in some old default configurations, is no longer supported - remove it if present. If the new version fails to start, review
/var/mysql/(hostname).err. As usual, run mysql_upgrade(1) after the update.
route-collectoris deprecated and will cause bgpd(8) to fail parsing the config. Instead disable the route evaluation process on the Loc-RIB with
rde rib Loc-RIB no evaluate.