From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 02:40:18 2003 Return-Path: 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 8A38616A4CE for ; Wed, 12 Nov 2003 02:40:18 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91CA743FCB for ; Wed, 12 Nov 2003 02:40:17 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 12 Nov 2003 10:39:59 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1AJsNX-0000rN-00; Wed, 12 Nov 2003 10:37:39 +0000 Date: Wed, 12 Nov 2003 10:37:39 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: William O'Higgins In-Reply-To: <20031111173315.GA30896@sillyrabbi.dyndns.org> Message-ID: References: <20031111173315.GA30896@sillyrabbi.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: freebsd-questions@freebsd.org Subject: Re: portupgrade -arR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 10:40:18 -0000 On Tue, 11 Nov 2003, William O'Higgins wrote: > Quite foolishly, I ran this command without thinking it through: > > portupgrade -arR > > It's been running for 15 hours or so now, and I'm wondering how much > longer it is likely to take? I realize that "that depends" Well, "that depends"; many ports can be upgraded quickly. However compilation of C++ is markedly slower than compilation of C, so whenever you see things like KDE or Qt meeding an upgrade, expect it to take a while. If you use "portversion -v | grep -v =" then you'll see the list of ports which remain that need updating. (You need to run portsdb after a cvsup for the output of this, and portupgrade's operation, to be accurate.) > Any suggestions? Thanks. If you've got packages installed that you don't want, portupgrade _can_ be safely interrupted and will pick up pretty much from where it left off when you kick it off again. It's often worthwhile checking the Makefiles for the ports you install for tunable variables. Many ports offer interactive menus to select features to build; Murphy's law would suggest that one of these might well pop up just after you leave portupgrade to do its thing and go to bed. You can normally select batch operation and choose the appropriate options by putting them into /usr/local/etc/pkgtools.conf; the exact mechanism used to indicate "non-interactive" mode isn't uniform across all ports, however. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ printf 'cat\nhello world' | `sh -c 'read c; echo $c'`