From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 11:13:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABEF116A429 for ; Tue, 28 Jun 2005 11:13:46 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 609FC43D4C for ; Tue, 28 Jun 2005 11:13:46 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id B6395CAFC76 for ; Tue, 28 Jun 2005 07:13:44 -0400 (EDT) X-Sasl-enc: Vwqz577sNFCYRIz3xU7/0JU4nNGSxXzlGbPdpeANsB0S 1119957223 Received: from gumby.localdomain (dsl-80-41-79-11.access.as9105.com [80.41.79.11]) by frontend3.messagingengine.com (Postfix) with ESMTP id 109CC5F for ; Tue, 28 Jun 2005 07:13:42 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Tue, 28 Jun 2005 12:13:42 +0100 User-Agent: KMail/1.8 References: <20050625112256.GA32433@lothlorien.nagual.st> <200506271318.18073.list-freebsd-2004@morbius.sent.com> <20050627112833.I11987@dualman.cableone.net> In-Reply-To: <20050627112833.I11987@dualman.cableone.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506281213.42727.list-freebsd-2004@morbius.sent.com> Subject: Re: upgrading all ports 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, 28 Jun 2005 11:13:46 -0000 On Monday 27 June 2005 17:37, Denny White wrote: > On Mon, 27 Jun 2005, RW wrote: > > On Saturday 25 June 2005 12:22, Dick Hoogendijk wrote: > >> I want to do a portupgrade on all installed ports. > >> > >> What's the right way? > >> "portupgrade -arR ?" > >> or > >> "portupgrade -a" ? > > > > AFAIK there is no difference between the two; "-a" means upgrade all > > ports in the package database, "-Rr" means add in the dependencies and > > dependent ports based on what's in the database, but these are already > > covered by -a. New dependencies are built as a side-effect of building > > out-of-date ports - not through the -R option. > > > > There *is* a difference between -FRa and -Fa because -FR is translated > > into a "make checksum-recursive". Anyone who believes that portupgrade is > > slower than removing all port and reinstalling has probably been misled > > by watching portupgrade -FRa which runs "make checksum-recursive" for > > each installed port and so visits some ports many time. > > >>... > > This couldn't have come at a better time for me. > I really boned things up about 40 hours ago. I was > getting ready to leave and because I'd been doing > some learning/experimenting with portupgrade on > some held ports, I hit the wrong switch. I think > it was portupgrade -arRF & now, about 40 hours > later, shortly after returning home, we're still > going, going, going....... Things are really in > a mess & I've read the recent posts on this thread > & can attest, sitting here for several hours, that > "visits some ports many times" is an understatement. > It's becoming rediculous & I'm wondering if, at > some point, when clean is going after something > else was just upgraded, if I can break out & go > back with a simple portupgrade -arR & not screw > things up to badly. You can break-out of portupgrade -arRF anytime you like, it's only fetching distfiles not upgrading anything. Normally portupgrade -Fa will fetch all the file you needs, but portupgrade -FRa is a bit more thorough. Really though you don't need to run with the -F option at all, unless you can't build online or want to prefetch files. If it's taking 40 hours though, it probably means that your cache of files is badly out-of-date and you are getting slow downloads - a clean pass that doesn't fetch anything shouldn't take more than a hour.