From owner-freebsd-questions@FreeBSD.ORG Wed May 4 21:51:08 2011 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 282AB1065674 for ; Wed, 4 May 2011 21:51:08 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from honeysuckle.london.02.net (honeysuckle.london.02.net [87.194.255.144]) by mx1.freebsd.org (Postfix) with ESMTP id A89228FC1E for ; Wed, 4 May 2011 21:51:07 +0000 (UTC) Received: from muji2.config (93.97.24.219) by honeysuckle.london.02.net (8.5.133) id 4DA2FC0B0077F745; Wed, 4 May 2011 22:51:05 +0100 Message-ID: <4DC1CA49.8060801@onetel.com> Date: Wed, 04 May 2011 22:51:05 +0100 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100924 Thunderbird/3.1.4 MIME-Version: 1.0 To: Chris Brennan , User Questions References: <20110504142626.539c2b6f@scorpio> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: A possibly odd upgrade question 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, 04 May 2011 21:51:08 -0000 On 04/05/2011 20:53, Chris Brennan wrote: > On Wed, May 4, 2011 at 2:26 PM, Jerry wrote: > > Chris, when I have had to do major rebuilds, I have found >> "portmanager" to be the best tool. It just seems to work. In any case, >> if it were me, I would clean out the /usr/ports/distfiles directory, >> update your ports tree, and then update you OS. When you are finished >> with that fun chore, run; "portmanager -u -l -y -f". Depending on the >> number of ports installed, it might take some time though. Obviously, >> you need portmanager installed first. By the way, if you know you need >> a distfile installed first, something like diablo-jdk or diablo-jre >> that require you to have the distfile all ready in >> the /usr/ports/distfiles directory prior to attempting to build the >> port, then do that prior to updating your system and running >> portmanager. >> > > The problem here (as I have previously mentioned and further discussed in my > reply to Andrew Clarke) is that the most of the ports won't rebuild for > various reasons. I'm pretty handy, but not brilliant. So instead of asking > for my hand to be held by the mailing list, I thought nuking everything I > installed from ports after moving to 8.x would be the smartest move, then > from there reinstall (from a fresh ports tree) only what I need for the > retasked purpose. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I second Jerry, portmanager is indeed a very effective tool, it's simple and thorough and probably has as good a chance of fixing ports issues as anything. Or used to, I've been trying out tinderbox so haven't used it for a year or so. If you do use portmanager there are a few tricks you can do to make it effectively unattended. However, doesn't -u -f mean rebuild all dependencies of all ports? In which case wouldn't it be just as effective and cleaner for the OP to nuke the lot and rebuild, particularly in view of the retasked purpose. Chris