From owner-freebsd-questions@FreeBSD.ORG Tue May 9 17:39:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2276B16A4CB for ; Tue, 9 May 2006 17:39:43 +0000 (UTC) (envelope-from john@cruzweb.net) Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [216.148.227.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B2843D58 for ; Tue, 9 May 2006 17:39:40 +0000 (GMT) (envelope-from john@cruzweb.net) Received: from [127.0.0.1] (c-68-61-214-252.hsd1.mi.comcast.net[68.61.214.252]) by comcast.net (rwcrmhc14) with ESMTP id <20060509173939m1400p6cvhe>; Tue, 9 May 2006 17:39:39 +0000 Message-ID: <4460D3DB.10300@cruzweb.net> Date: Tue, 09 May 2006 13:39:39 -0400 From: John Cruz Organization: Cruz Web Development User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: John Nielsen References: <62b856460605090453o24f7de34ka71fffa392bfdedb@mail.gmail.com> <4460CC0B.8050209@gmail.com> <200605091332.43784.lists@jnielsen.net> In-Reply-To: <200605091332.43784.lists@jnielsen.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading to 6.1 (cvsup) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@cruzweb.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 17:39:44 -0000 John Nielsen wrote: > cvsup is definitely the preferred way to upgrade, and is very easy to use, > especially once you get it set up the first time. > > You need to: > > 1) Make sure you have cvsup installed > pkg_add -r cvsup-without-gui > OR > cd /usr/ports/net/cvsup-without-gui && make install clean > (the latter assumes you have a ports tree on your system) > > 2) Create a supfile appropriate for your situation (and location). Here is > mine: > > *default host=cvsup12.freebsd.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_6 > *default delete use-rel-suffix > *default compress > src-all > > Change the host to a mirror close to you, and change the base to wherever you > want the cvsup metadata files stored. Also change the tag to RELENG_6_1 if > you want the 6.1 branch instead of 6-STABLE. For more details, see the > examples in /usr/share/examples/cvsup and the handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html > > All that the above really says is to put the "RELENG_6" branch of > the "src-all" collection into /usr (and actually into /usr/src). > > 3) Run it > cvsup /path/to/your/supfile > > That's it! In the future, you just have to repeat step 3 to get the latest > sources from your selected CVS branch. If you want to move to a different > branch in the future (6-STABLE or 6.2 when that happens), it's just a matter > of changing the tag in your supfile. > > Once you have the sources, you have to build and reinstall your kernel and > world to actually update your system, but that's covered pretty well in the > handbook and elsewhere. > > JN Aah, thank you! I just need to learn what all that stuff means in the supfile but it's an example I can work with. So that will over-write everything in /usr/src with the new versions then? I'll start the download now, and tomorrow when I get my new server MoBo i'll to the build world thing and should be all set. gracias. -John