Hacker News new | past | comments | ask | show | jobs | submit login

What are the explicit instructions for upgrading to it from the previous release? Is there an equivalent to OpenBSD's "sysupgrade -r" ?



# 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


I 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.


Is 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.


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."


So 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.


First you left out some pretty important commands and steps.

Second RTFM!

https://docs.freebsd.org/en/books/handbook/cutting-edge/#upd...


> … release notes.

The notes exist, but only in draft form; a skeleton.

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.


Usually if you have a working freebsd system you know the handbook exist and you refer to it for that kind of instructions.


man freebsd-update




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: