From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 05:43:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D1481065672 for ; Wed, 19 Nov 2008 05:43:25 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 08FA68FC1D for ; Wed, 19 Nov 2008 05:43:24 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id goLQ1a00S0lTkoCA3tjNme; Wed, 19 Nov 2008 05:43:22 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id gtjM1a0042P6wsM8QtjMnu; Wed, 19 Nov 2008 05:43:22 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=ZdM0onb841SZBdRurQ8A:9 a=3dYm9qLdkNPU8dqVUmHyS4rq-k8A:4 a=BvThqnMBffsA:10 a=EoioJ0NPDVgA:10 a=MSl-tDqOz04A:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6C38A33C36; Tue, 18 Nov 2008 21:43:21 -0800 (PST) Date: Tue, 18 Nov 2008 21:43:21 -0800 From: Jeremy Chadwick To: andrew clarke Message-ID: <20081119054321.GC77425@icarus.home.lan> References: <1338880b0811181547s191b3170nefe5525f112bbcc2@mail.gmail.com> <20081119040732.GC45210@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081119040732.GC45210@ozzmosis.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Kelly Martin , FreeBSD Questions Subject: Re: preparing for an upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 05:43:25 -0000 On Wed, Nov 19, 2008 at 03:07:32PM +1100, andrew clarke wrote: > On Tue 2008-11-18 16:47:20 UTC-0700, Kelly Martin (kellymartin@gmail.com) wrote: > > > With the release of FreeBSD 6.4 imminent, I'd like to prepare for an > > upgrade from FreeBSD 6.2 -> 6.4. > > Have you considered using freebsd-update? From memory, it supports 6.2. > > > Please excuse my ignorance but in my mind here's what I plan to do > > when it's available: > > > > 1. install / run the upgrade script using CD-ROM media to a 6.4 > > GENERIC kernel, reboot > > 2. customize the kernel to my hardware (like I did in 6.2), reboot > > 3. portsnap fetch update (to get the latest ports tree for 6.4) > > 4. portupgrade -ai (to upgrade any outdated ports) > > I don't think there will be any need to rebuild your ports after > upgrading from 6.2 to 6.4. (The situation is different if you were > going from 6.2 to 7.1 though.) Threading library changes are a good reason to rebuild your ports in this case. > > I'm a little confused about different versions of the ports tree. What > > I mean is, I keep updating my FreeBSD 6.2 ports tree and have never > > had any problems... it just works. I'm assuming the 6.4 ports tree is > > a little different and specific to 6.4? > > No, there is only one ports tree shared between all FreeBSD versions. > If you already have an updated ports tree with a 6.2 installation, you > can keep using that with 6.4 (or even 7.x). You can only use it on 7.x if you add compatibility libraries and ensure your kernel has COMPAT_FREEBSD6 in it. These libraries have given some users trouble in the past; you will find most people advocate rebuilding all ports from scratch (pkg_delete -af please) when upgrading between major FreeBSD versions (e.g. 6.x -> 7.x). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |