site

source files for beau's website
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

ugbsd.md (1377B)


      1 # Upgrading out-of-date OpenBSD installs
      2 
      3 
      4 First of all, don't do how I do. 
      5 Upgrade your installs regularly. 
      6 OpenBSD makes it very easy.
      7 
      8 But, if you do happen to get behind...
      9 
     10 `sysupgrade` is very likely to fail.
     11 
     12 
     13 ## What happens when you try to upgrade a very old install?
     14 
     15 
     16 Lots of 404 errors. 
     17 
     18 The `sysupgrade` utility tries to grab the next version of the OS from one of the many mirrors
     19 (the specific one your system will use is in `/etc/installurl`.)
     20 
     21 The default mirrors only keep the last 2 or 3 versions around,
     22 so when `sysupgrade` constructs the url and tries to hit it for downloads, it will fail.
     23 
     24 
     25 ## Where to get old versions?
     26 
     27 
     28 There are a couple of mirrors that keep almost all the old versions around.
     29 
     30 <https://mirror.yandex.ru/pub/OpenBSD/> 
     31 has files going back to OpenBSD 2.x - they seem like 
     32 the most serious archivists, at least of the mirrors I looked at.
     33 
     34 <https://mirror.sjtu.edu.cn/OpenBSD/> 
     35 has files going back to 6.5 as of this writing (2022-11-11), 
     36 also not too shabby.
     37 
     38 Do a little `vi /etc/installurl` and change the link to one of the above, 
     39 depending on how delinquent you've been.
     40 
     41 That should allow you to do serial `sysupgrade` commands until you catch up.
     42 
     43 When you get close to the current version, 
     44 consider switching back to a closer mirror, 
     45 both for faster installs 
     46 and to be kind to the folks who just saved your bacon.