Summary
The latest OpenBSD OS is now 6.8 ✨
which was released on 18 Oct 2020.
Moody artwork 😊
Almost all what to do is what nice sysupgrade
which first appeared in 6.6 will do automatically and thankfully.
By the way, httpd.conf might have to be paid attention to, because the grammar about fastcgi has been changed... 👀
Tutorial
Here is a step-by-step guide for the upgrade with a set of the commands to run.
- Pre-upgrade
- Upgrade
- Post-upgrade
- Follow configuration changes
- Remove old files
- Special packages
1. Pre-upgrade
$ # validate available disk size of /usr is greater than 1.1GB
$ df -h
2. Upgrade
$ doas sysupgrade
$ # Reboot automatically,
$ # and the sysupgrade process continues.
$ # The login message will be "OpenBSD 6.8 (GENERIC)" next time.
3. Post-upgrade
$ doas sysmerge
$ # There is a case when something happens, which is not always. In my case, I had sometimes to merge /etc/login.conf and so on.
$ doas syspatch; doas pkg_add -u
$ doas reboot
$ # Almost done!
What to do after pkg_add -u
is due to the server. For example, in one of my servers, running doas crontab -u _mailman /usr/local/lib/mailman/cron/crontab.in
was required to update /var/cron/tabs/_mailman
.
4. Follow configuration changes
Check the documentation if you use some of:
5. Remove old files
$ doas rm -f /usr/lib/libperl.a
$ doas rm /usr/X11R6/lib/libxkbui.* \
/usr/X11R6/lib/pkgconfig/xkbui.pc \
/usr/X11R6/include/X11/extensions/XKBui.h
The descriptions are here.
6. Special packages
Check the documentaion if you use some of:
- net/isc-bind
- www/goaccess
Wish you happy time with OBSD 😊