From owner-freebsd-stable@FreeBSD.ORG Tue Nov 9 14:48:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB96816A4CE for ; Tue, 9 Nov 2004 14:48:30 +0000 (GMT) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93BF043D2F for ; Tue, 9 Nov 2004 14:48:30 +0000 (GMT) (envelope-from fuzzy@electricrain.com) Received: (qmail 23943 invoked by uid 540); 9 Nov 2004 14:48:28 -0000 Date: Tue, 9 Nov 2004 06:48:28 -0800 From: Chris Doherty To: freebsd-stable@freebsd.org Message-ID: <20041109144828.GN4658@zot.electricrain.com> References: <20041109103902.GA69223@kierun.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041109103902.GA69223@kierun.org> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. X-Message-Flag: This message contains absolutely no malicious code. Organization: The Inside Foundation Subject: Re: Portupgrade script. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris-freebsd@randomcamel.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 14:48:30 -0000 On Tue, Nov 09, 2004 at 10:39:02AM +0000, Yann Golanski said: > Would people be kind enough to have a look at the following script and > tell me what horrors/faux pas/stupid things I have done? > > The script is an almost automated way to upgrade all your ports to the > latest version. I tried a similar sort of thing, to save time on my poor little 366MHz laptop: I already had a script to do the cvsup and pkg_version, so I thought I'd speed things up by going through that list and doing a portupgrade -Rr on each out-of-date port, rather than the more CPU/disk-intensive portupgrade -Rra. for lack of a better phrase, this made portupgrade get all funky on me sometimes: I'd find that ports weren't upgraded, or were upgraded incompletely, or that sometimes ports would be magically deinstalled despite their still being required. so you can give it a shot, but I've stuck with using portupgrade -Rra, or manually doing portupgrade -Rr on the specific ports I want, and I haven't had any problems (well, it was occasionally installing sgmlformat or docbook without anything that required it, but that seems to have died down). chris ------------------------------- Chris Doherty "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne -------------------------------