3 ms·
What are the explicit instructions for upgrading to it from the previous release? Is there an equivalent to OpenBSD's "sysupgrade -r" ?
by enriquto 5y ago
What are the explicit instructions for upgrading to it from the previous release? Is there an equivalent to OpenBSD's "sysupgrade -r" ?
- Dracophoenix 5y agohttps://www.freebsd.org/releases/13.1R/relnotes/ https://www.freebsd.org/releases/13.1R/relnotes/ "Binary upgrades between RELEASE versions (and snapshots of the various security branches) are supported using the freebsd-update(8) utility. The binary upgrade procedure will update unmodified userland utilities, as well as unmodified GENERIC kernels distributed as a part of an official FreeBSD release. The freebsd-update(8) utility requires that the host being upgraded have Internet connectivity."
- enriquto 5y agoSo you have to read the manpage of freebsd-update, understand it, and then find the version name in another document... After a while I think that this is it : sudo freebsd-update upgrade -r 13.1-RELEASE sudo freebsd-update install It would be nice if these two lines appeared in the release notes.
- nix23 5y agoFirst you left out some pretty important commands and steps. Second RTFM! https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-upgrading-freebsdupdate https://docs.freebsd.org/en/books/handbook/cutting-edge/#upd...
- prmoustache 5y agoUsually if you have a working freebsd system you know the handbook exist and you refer to it for that kind of instructions.
- grahamjperrin 5y ago> … release notes. The notes exist, but only in draft form; a skeleton. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262300 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262300 I drafted the corresponding pull request around the time of the PRERELEASE, which preceded the first beta. I should not treat notes as final until RELEASE occurs.
- deleted 5y ago[deleted]
- spodernet 5y ago# freebsd-update upgrade -r 13.1-BETA1 # freebsd-update install Which may ask to manually merge some configuration files or accept the automatic merge. Reboot after new kernel has been applied # shutdown -r now Run freebsd-update to update userland components # freebsd-update install Rebuild and reinstall applications and reboot into the new userland # shutdown -r now Remove stale files # freebsd-update install
- enriquto 5y agoI tried this, but it results in an infinite loop of "The following file will be removed, as it no longer exists in FreeBSD" that asks to remove apparently all files from /etc, one by one.
- spodernet 5y agoIs this system in a jail? Have you already attempted an upgrade? If so you could rollback and start from scratch via # freebsd-update rollback; a reboot is needed afterwards.
- hestefisk 5y agoman freebsd-update