From owner-freebsd-questions@FreeBSD.ORG Sun Apr 6 23:27:47 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 21C62106564A for ; Sun, 6 Apr 2008 23:27:47 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id C68018FC1E for ; Sun, 6 Apr 2008 23:27:46 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1870400pyb.10 for ; Sun, 06 Apr 2008 16:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; bh=S/0CwUy/VFxu5HIqfGHr2X7jCUSxtTXNhK3vOLTfeO0=; b=ET6TZI5cUAkaH68RLrwBScEHF4kxzcxa9NLHR8916dhplUi3YCbVvTXSPhHetJV/CEz7yTPDKeZw5AxPst7I8EB48p+JjWdnGQ8UAHEtKwhK4XAixn07J1CRLcv7zpfiv6EuFjbA30iCDDXAWpDGUu5U4spXXJlWmFr0/tY8sSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=SZy2FBAQowctEKK+w9Emndsvm8nG6C+dNcLEtigCGpHeZBEO3B2dAb6/XyptEYgLaXTw7sKtX0OITkYwJM56K2/wSVnzhtrtFK4Y8IyQrXluhmU+sUTURT7Dy76/5T9x7NgjUuPaYMjFTh5rQU4n+0GKj39UJgShEgoT3qnbmEI= Received: by 10.35.58.9 with SMTP id l9mr1099839pyk.65.1207524466045; Sun, 06 Apr 2008 16:27:46 -0700 (PDT) Received: from ?192.168.1.4? ( [98.212.164.35]) by mx.google.com with ESMTPS id s59sm9217771pyh.40.2008.04.06.16.27.40 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Apr 2008 16:27:41 -0700 (PDT) In-Reply-To: <47F73EF7.3040306@infracaninophile.co.uk> References: <56fa92a7090e9529f0cb571cb2340aa5@gmail.com> <47F73EF7.3040306@infracaninophile.co.uk> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Joshua Isom Date: Sun, 6 Apr 2008 18:30:11 -0500 To: Matthew Seaman X-Mailer: Apple Mail (2.624) Cc: FreeBSD Questions Subject: Re: Source upgrade from 6.3-PRERELEASE to 7-STABLE 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: Sun, 06 Apr 2008 23:27:47 -0000 On Apr 5, 2008, at 3:57 AM, Matthew Seaman wrote: > Joshua Isom wrote: >> I've looked back at a lot of the emails about upgrading a system from >> 6 to 7, but all seem to contain some caveat or other, generally >> ports. I want a "clean" system, but don't want to deal with backing >> up, reformatting, and installing, not to mention reconfiguring >> everything. Since by now many people have done it, what's the best >> way to upgrade from 6.3 to 7.0 for the entire system, base and ports? > > Note that once you have the base OS updated, you can leave it running > with the ports from 6.x for a while -- so long as you've still got the > 6.x shlibs available everything will carry on working. That means you > either have to install the misc/compat6.x port or you have to skip the > 'make delete-old-libs' step at the end of the buildworld procedure. > (Well, > postpone it until the ports can be rebuilt.) > > ... > > Don't forget the 'make delete-old-libs' step at the end. You can > probably > deinstall compat6x similarly although there are some ports that will > now > require it -- diablo-j{dk,re}15 for example. > > Cheers, > > Matthew > I decided to go with the plan of listing all leaf ports and all ports(install leaves first and then find out what's missing that I'd want based on everything I had), then deleting all of them and cleaning up some of the leftovers, and reinstalling the base and deleting the old libraries to get a good clean 7.0 system. Only problem is when I started rebuilding stuff, I think libtool found f77 and some of the other 6.3 binaries that weren't deleted and things like gettext didn't want to install. It seems as though either `make delete-old-libs` needs adapted to include deleting binaries, or a separate target for old binaries. I'm currently building up my ports tree, and it seems to be working well now, so all the 6.3 binaries I found and deleted didn't seem to hurt anything, not that they could run as libc.so.6 is gone.