Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 22:14:39 +0200
From:      Ruben <mail@osfux.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: Updating from 11.3-stable to 12.1-stable?
Message-ID:  <ba085398-13b9-7271-e97c-4ac55ead208f@osfux.nl>
In-Reply-To: <20200427200111.GA39823@rancor.immure.com>
References:  <20200427200111.GA39823@rancor.immure.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi,

If you are not compiling your own kernel I normally go about it 
something like this:

freebsd-update -r 12.1-RELEASE upgrade
freebsd-update install

shutdown -r now

freebsd-update install

You will be prompted to reinstall installed software now.

If you do not use the ports collection:

pkg update

(this probably throws some errors about a major version update being 
detected)

pkg-static install -f pkg ; pkg upgrade -fy

If you do use the ports collection:

portmaster -m DISABLE_VULNERABILITIES=yes -Raf --no-confirm

(I always found it convenient to do a full update / upgrade of the 
portstree _prior_ to switching to 12.1)

After reinstalling the installed software, you can issue:

freebsd-update install

shutdown -r now

You should be on 12.1 now.

Needless to say; you are advised to make backups / prepare contingency 
plans :)

Regards,

Ruben

On 4/27/20 10:01 PM, Bob Willcox wrote:
> Hi,
> 
> What is the best way to update a system from 11.3-stable to 12.1-stable? This system
> is a backup file server that I could reinstall if necessary, but I'd really like to
> avoid having to do that.
> 
> Any tips/ideas on how to proceed would be greatly appreciated.
> 
> Bob
> 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?ba085398-13b9-7271-e97c-4ac55ead208f>