Skip to main content
Technology & Life
- Summary
- My pre-flight checklist for upgrading an OpenBSD system
- Published
-
- Tags
-
OpenBSD, Notes
- Make sure
/usr has at least 1.5 GB free
- Save your dmesg if you want to compare before/after
dmesg > dmesg.version.txt
- If your home is crypted, ensure a valid .ssh/authorized_keys outside of the crypt, so you can still log in
- Use
sysupgrade -n to download the sets without rebooting
- Once all looks good, reboot and wait
- Once back up, run
sysmerge if needed to update any config files, though it should run automatically
- Run
pkg_delete -a to remove any packages no longer in use (and thus don't need to be updated)
- Run
pkg_add -u to update all packages
- Run
syspatch to install system patches
- Reboot
- All done. Repeat if you are more than one version behind
Back to top ↑