Technology & Life

Summary
My pre-flight checklist for upgrading an OpenBSD system
Published
Tags
,

  1. Make sure /usr has at least 1.5 GB free
  2. Save your dmesg if you want to compare before/after
  1. If your home is crypted, ensure a valid .ssh/authorized_keys outside of the crypt, so you can still log in
  2. Use sysupgrade -n to download the sets without rebooting
  3. Once all looks good, reboot and wait
  4. Once back up, run sysmerge if needed to update any config files, though it should run automatically
  5. Run pkg_delete -a to remove any packages no longer in use (and thus don't need to be updated)
  6. Run pkg_add -u to update all packages
  7. Run syspatch to install system patches
  8. Reboot
  9. All done. Repeat if you are more than one version behind

Back to top ↑