From owner-freebsd-questions@FreeBSD.ORG Mon Jun 27 12:18:21 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 6426016A41C for ; Mon, 27 Jun 2005 12:18:21 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34CE343D48 for ; Mon, 27 Jun 2005 12:18:21 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 24EE0CAE365 for ; Mon, 27 Jun 2005 08:18:20 -0400 (EDT) X-Sasl-enc: D4hM1KbvvnykxeUfhQ1iTyJpRJfI9K4U9eSZnKmJYAOY 1119874699 Received: from gumby.localdomain (dsl-80-41-67-146.access.as9105.com [80.41.67.146]) by frontend2.messagingengine.com (Postfix) with ESMTP id 8C30656F785 for ; Mon, 27 Jun 2005 08:18:19 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Mon, 27 Jun 2005 13:18:17 +0100 User-Agent: KMail/1.8 References: <20050625112256.GA32433@lothlorien.nagual.st> In-Reply-To: <20050625112256.GA32433@lothlorien.nagual.st> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506271318.18073.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: Mon, 27 Jun 2005 12:18:21 -0000 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. Portmanager is a good way to bring your ports up-to-date, but it also rebuilds all ports that depend on out-of date ports. It's a very slow process if you have a slow machine and most of your ports were up-to-date already, but try it for yourself. Portupgrade does a pretty good job if you follow UPDATING, and use the gnome script for major Gnome upgrades. If you want to force the rebuilding of all your ports then see pkg_glob(1) and portupgrade (1) for instructions on how to rebuild ports built after a given timestamp, as this gives you a restartable method.