View Single Post
Old 5th December 2020
TheTKS TheTKS is offline
Port Guard
 
Join Date: Sep 2018
Location: Canada
Posts: 43
Default

Quote:
Originally Posted by bradley View Post
Btw I checked /var/mail and did not find anything related to sysupgrade.
Look for the mbox file.

In my case, I have two: an older one /root/mbox, a newer one /home/[user]/mbox.

The older one in /root is the original, from when I wiped my drive and did a clean installation of 6.7

The newer one is in /home/[user], I presume because I ran sysupgrade to 6.8 from within my user instance, that is (abbreviated steps, and I believe this is the right order):
[user]$ su -
[user]# sysupgrade
[user]# sysmerge
[user]# syspatch
then a bunch of
[user]# [pkg_add -options, pkg_delete -options, pkg_check -options]

With reboots, and doing what I needed to do from man afterboot and from https://www.openbsd.org/faq/upgrade68.html (read "After the Upgrade", and then read all the way to the end of the page!) fw_update ran during sysupgrade.

Which is why I concluded that, with my fairly simple setup, it probably takes me about the same amount of time to sysupgrade (both in man-minutes and start-to-finish time) as it does to back up files, do a fresh intstallation including Xfce and other 3rd party packages, and copy back user files.

I expect that with a more complicated setup, more users or more computers to upgrade, sysupgrade could be substantially faster, especially if you can automate some of the manual steps.

TKS
Reply With Quote