Live data from Hacker News

FreeBSD 13.1 Beta 1

lists.freebsd.org

1–10 of 54 posts

Re: FreeBSD 13.1 Beta 1

#6
post #5

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

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

Re: FreeBSD 13.1 Beta 1

#7
post #5

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

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 upgrad…

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.

Re: FreeBSD 13.1 Beta 1

#8
post #5

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

Re: FreeBSD 13.1 Beta 1

#9
post #5

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.

Re: FreeBSD 13.1 Beta 1

#10
post #9

Earlier quoted context omitted.

# 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.
Post reply on HN