From owner-freebsd-questions@FreeBSD.ORG Tue Nov 24 17:05:17 2009 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 709F31065672 for ; Tue, 24 Nov 2009 17:05:17 +0000 (UTC) (envelope-from lazlar@lazlarlyricon.com) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD0A8FC16 for ; Tue, 24 Nov 2009 17:05:17 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA0129E9D3 for freebsd-questions@freebsd.org; Tue, 24 Nov 2009 18:05:15 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgdZAM6gC0tV44PPPGdsb2JhbACBTYdakAyCWgEBAQE3uVeEOQQ X-IronPort-AV: E=Sophos;i="4.47,280,1257116400"; d="scan'208";a="7211754" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 24 Nov 2009 18:05:15 +0100 Message-ID: <4B0C1249.1090600@lazlarlyricon.com> Date: Tue, 24 Nov 2009 18:05:13 +0100 From: Rolf G Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091117) MIME-Version: 1.0 To: John References: <20091124154514.GA91657@potato> <200911241725.42229.pieter@degoeje.nl> <20091124163718.GB91657@potato> In-Reply-To: <20091124163718.GB91657@potato> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pieter de Goeje , freebsd-questions@freebsd.org Subject: Re: 7.2-STABLE to 8-R 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: Tue, 24 Nov 2009 17:05:17 -0000 John wrote: > On Tue, Nov 24, 2009 at 05:25:42PM +0100, Pieter de Goeje wrote: >> On Tuesday 24 November 2009 16:45:14 John wrote: >>> Hello list >>> >>> I've looked high and low for a howto/link showing how to update to 8, to >>> no avail. Is it just a case of the regular buildworld process or are >>> there gotchas because we are crossing major version numbers. >>> >> You got it right. Just the regular upgrade procedure as documented in >> /usr/src/UPDATING. >> >> The gotcha is that you need to rebuild all ports. If you don't do that you can >> run in to trouble when you later build a port. >> >> I found that usually it is fastest to just take note of which ports you need, >> delete all existing ports, then after the upgrade reinstall the required >> ports. > > Thanks, that's a relief! I looked at the url the other chap posted and > it seems to be the same thing although he uses a slightly different > syntax and I think he is talking about upgrading in a datacentre, > remotely. > > cheers Just another note or two. If you decide to recompile the ports using portupgrade, portmaster or a similar tool, rather than, as Pieter suggested, deleting them and re-installing, make sure your ports are up to date before upgrading the system. That way you are less likely to run into problems when recompiling them after upgrading. After running mergemaster, do a make delete-old to remove any 7.2 binaries remaining (libraries still in use won't be deleted). I usually do this while still in single user, but I believe it can be done in multi user as well. After upgrading the ports, cd to /usr/src and do a make delete-old-libs. If you upgrade them using portupgrade, portmaster or a similar tool, do the delete-old-libs AFTER all ports are successfully upgraded. The reason for this is that the ports you have installed are still linked to the 7.2 libraries. If you decide to delete all ports, delete them before upgrading the system, then do the delete-old and delete-old-libs before installing any new ports. I usually delete all ports and re-install the essential ones after upgrading, but I've tried the portupgrade approach too, and both have worked well for me. The latter approach is more time consuming, but ensures you have all your ports after the upgrade, while the former approach takes less time and may help get rid of ports you no longer need. Good luck. :) Rolf Nielsen