From owner-freebsd-stable@FreeBSD.ORG Tue Aug 22 15:37:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49ECF16A4DA for ; Tue, 22 Aug 2006 15:37:42 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5206843D6D for ; Tue, 22 Aug 2006 15:37:31 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id BAA12206; Wed, 23 Aug 2006 01:37:10 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 23 Aug 2006 01:37:09 +1000 (EST) From: Ian Smith To: Greg Byshenk In-Reply-To: <20060821231700.GJ633@core.byshenk.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: David Syphers , Vivek Khera , freebsd-stable@freebsd.org, Stefan Bethke Subject: Re: 5.5 to 6.1 upgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 15:37:42 -0000 Thanks to all who responded for the collective good advice. On Tue, 22 Aug 2006, Greg Byshenk wrote: > On Mon, Aug 21, 2006 at 11:52:02PM +0200, Stefan Bethke wrote: > > Am 21.08.2006 um 18:19 schrieb Ian Smith: > > > >I recently (without drama) upgraded a 5.4-RELEASE system to > > >FreeBSD 5.5-STABLE #1: Tue Aug 1 11:11:20 EST 2006 > > >for 'target practice' at least, on the way to 6.1-STABLE > > > >I was preparing to portupgrade everything next, when I wondered: > > > >a) should I upgrade from RELENG_5 straight to RELENG_6 or should I be > > >stopping off at 6.1-RELEASE along the way first? and > > > I'd go straight to 6-stable. Make sure you have a good backup, even > > if you stop over at 6.1. > > I see no reason not to go directly to 6-stable (if that is what you plan > to run); I've done it with multiple machines, and just jump right to the > 6-stable version that is active on the machines running 6.x. > > Though I've had no problems, I second the recommendation to have a good > backup. Also, if you don't have a known-good 6-stable build, you might > want to upgrade to the GENERIC kernel. Thanks. On reflection, I think I'll go via 6.1 (more target practice), use GENERIC if there's any trouble, then to 6-stable as a smaller step. > > >b) do I need to upgrade all existing ports (way out of date) before > > >the source upgrade, or can I be confident of doing that from 6.1 > > >(-R or -S)? > > > >FWIW: a wee Celeron 300, so minimising upgrade build times is > > >desirable. > > > Unless you have business critical apps running (downtime must be > > minimal), you can wait until you've completed the upgrade to 6- > > stable, and then run portupgrade -af. If you'd like to run the > > portupgrade overnight, you might want to define BATCH, and possibly > > set any port building options in /usr/local/etc/pkgtools.conf, > > otherwise, the port builds will be frequently interrupted by make > > config questions. Good reminders; this box won't be critical till it's all working .. > It shouldn't be necessary to rebuild ports before the upgrade. If > there is something running that is critical, you might want to upgrade > it first, just be sure, but it probably isn't necessary. I upgraded a > workstation with 200+ ports installed, and saw no problems (I can't > for certain that nothing was broken before I upgraded the ports, but > I experienced no problems). Good to confirm. I haven't so many ports installed that I couldn't start from scratch if it all fell over, so I can play with ports and packages till I finally learn how to use all the tools effectively. Cheers, Ian