While that’s running, let’s get the download files. This isn’t a big deal, except for those few that must be built as ports because I require something unusual.
Go to the Open BSD mirror list and choose one near you. You can still follow the recommended upgrade procedure. Set PKG_PATH to the packages directory of your closest FTP mirror and run pkg_add -ui Walk away.
My desktop runs an Open BSD snapshot from April 2010. Open BSD’s usual upgrade path works quite well, but I’m simultaneously lazy and willing to reinstall this system from scratch if something ghastly happens. $ tar -C / -xzvphf xserv49$ tar -C / -xzphf xfont49$ tar -C / -xzphf xshare49$ tar -C / -xzphf xbase49$ tar -C / -xzphf game49$ tar -C / -xzphf comp49$ tar -C / -xzphf man49Do not extract the etc49distribution, as that will overwrite your core system configuration! Once you update the core, your system is running a new userland on an old kernel.
(This might also invalidate any bug report you send.) Don’t do this if you have any need or respect for your computer. One annoyance with using an MSDOS-formatted disk for backup is that you can’t have a file larger than 4GB. I must use gtar to back up my home directory, and use the multiple-volumes option. Sysmerge will compare your installed /etc with the snapshot fileset and show you the diffs.
--- binpatch59-amd64-kernel --- Available update(s): Open BSD erratum 020: Unchecked parameters and integer overflows in the amap allocation routines could cause malloc(9) to either not allocate enough memory, leading to memory corruption, or to trigger a "malloc: allocation too large" panic.
--- binpatch59-amd64-libexpat --- Available update(s): Open BSD erratum 010: Fix issues in libepxat to prevent multiple integer and buffer overflows.
Move the existing backup file to a different file, then hit return to have gtar continue. If you’ve used mergemaster(8), sysmerge(8) will be no surprise. With the new /etc, Open BSD automatically generates the missing SSH key for the new crypto algorithm. In the interest of sanity, I need to remove and reinstall all the packages on this system.Maintaining Open BSD up-to-date is quite easy using the Errata Patches.But this requires using cvs and make to download, compile and apply thoses patches. There is a way to deal with binary objects only: openup by M: Tier. # ./openup -c --- binpatch59-amd64-crypto --- Available update(s): Open BSD erratum 012: Correct a problem that could result in incorrect parsing/encoding of times in OCSP messages.The reader should also be familiar with the basic phases of port building, and understands the concepts of the key targets: fetch, extract, patch, config, build, fake, package, and install.Obtaining -stable sources, building -stable systems, and building -stable releases are are covered in FAQ 5, the "Following -stable" FAQ, and in the release(8) man page.