Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 19:33:23 -0500
From:      Bob Willcox <bob@immure.com>
To:        Trond =?iso-8859-1?Q?Endrest=F8l?= <trond.endrestol@ximalas.info>
Cc:        questions list <freebsd-questions@freebsd.org>
Subject:   Re: Updating from 11.3-stable to 12.1-stable?
Message-ID:  <20200430003322.GB1510@rancor.immure.com>
In-Reply-To: <alpine.BSF.2.22.395.2004300026400.91211@enterprise.ximalas.info>
References:  <20200427200111.GA39823@rancor.immure.com> <20200428130853.GB39823@rancor.immure.com> <20200429212754.GA1510@rancor.immure.com> <alpine.BSF.2.22.395.2004300026400.91211@enterprise.ximalas.info>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Apr 30, 2020 at 12:29:47AM +0200, Trond Endrestøl wrote:
> On Wed, 29 Apr 2020 16:27-0500, Bob Willcox wrote:
> 
> > Well, here are the steps that I took to upgrade my 11.3-STABLE system to
> > 12.1-STABLE. May not be the best/most efficient but they worked for me
> > and I thought someone else may benefit from them.
> > 
> > 1)  Make a backup of the current system
> > 2)  Delete everything in /usr/src, making certin to remove the files and directories
> >     that start with a dot (".").
> 
> You can combine 2 and 4 in one go:
> 
> svn switch ^/stable/12 /usr/src
> 
> > 3)  Delete everything in /usr/obj.
> > 4)  Download (via svn) the new FreeBSD release /usr/src to be updated to.
> > 5)  Build the new world from the source.
> > 6)  Build the new kernel from the source.
> > 7)  Run "mergemaster -Fp" to update files that may be needing update prior to
> >     doing the installworld.
> > 8)  Run "make installworld" in /usr/src.
> > 9)  Run "make installkernel" in /usr/src.
> > 10) Run "mergemaster -iU" do update any remaining files that need to be updated.
> > 11) Reboot the system.
> > 12) Run "pkg update" to update the pkg database to the new system's level.
> > 13) Run "pkg upgrade" to update all packages to reflect the new system's level.
> > 14) Reboot the system.
> > 
> > Bob
> 
> -- 
> Trond.

Thanks for the tip. Of course, that would have required that I learned more about
svn. My brute force approach was obvious and it worked.  :)

Bob

-- 
Bob Willcox    | It's possible that the whole purpose of your life is to
bob@immure.com | serve as a warning to others.
Austin, TX     |



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200430003322.GB1510>