💾 Archived View for perso.pw › blog › articles › openbsd-current.gmi captured on 2022-04-28 at 17:48:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
NIL=> Comment on Mastodon
Hello, as there are so many questions about OpenBSD -current on IRC, Mastodon
or reddit I'm writing this FAQ in hope it will help people.
The official FAQ already contains answers about -current like [Following
-current and using snapshots](https://www.openbsd.org/faq/current.html) and
[Building the system from
sources](https://www.openbsd.org/faq/faq5.html#Flavors).
OpenBSD -current is the development version of OpenBSD. Lot of people use it
for everyday tasks.
OpenBSD -current refers to the last version built from sources obtained with
CVS, however, it's also possible to get a pre-built system (a snapshot) usually
built and pushed on mirrors every 1 or 2 days.
You can install OpenBSD -current by getting an installation media like usual,
but on the path /pub/OpenBSD/snapshots/ on the mirror.
There are two ways to do so:
1. Download bsd.rd file from the snapshots directory and boot it to upgrade
like for a -release to -release upgrade
2. Run `sysupgrade -s` command as root, this will basically download all sets
under `/home/_sysupgrade` and boot on bsd.rd with an `autoinstall(8)`
config.
Exactly the same process as going from -release to -current.
No.
There are a few issues possibles that one can expect
If a library get updated into the base system and you want to update packages,
they won't be installable until packages are rebuilt with that new library,
this usually takes 1 up to 3 days.
The other way around, you can have an old snapshot and packages are not
installable because the libraries linked to by the packages are newer than what
is available in your system, in this case you have to upgrade snapshot.
If you download the sets on the mirror to update your -current version, you may
have an issue with the sha256 sum, this is because the mirror is getting
updated and the sha256 file is the first to be transferred, so sets you are
downloading are not the one the sha256 will compare.
Sometimes, very rarely (maybe 2 or 3 time in a year?), some snapshots are
borked and will prevent system to boot or lead to regularly crashes. In that
case, it's important to report the issue with the `sendbug` utility.
You can fix this by using an older snapshot from [this archives
server](http://ftp.hostserver.de/archive/) and prevent this to happen by
reading bugs@ mailing list before updating.
Sometimes, a package update will break it or break some others packages, this
is often quickly fixed on popular packages but in some niche packages you may
be the only one using it on -current and the only one who can report about it.
If you find breakage on something you use, it may be a good idea to report the
problem on ports@openbsd.org mailing list if nobody did before. By doing so,
the issue will be fixed and next -release users will be able to install a
working package.
It's really up to you. Developers are all using -current and are forbidden to
break it, so the system should totally be usable for everyday use.
What may be complicated on a server is keep updating it regularly and face
issues requires troubleshooting (like major database upgrade which was missing
a quirk).
For a workstation I think it's pretty safe as long as you can deal with
packages that can't be installed until they are in sync.