From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 05:55:58 2004 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 2557E16A4CE for ; Wed, 24 Nov 2004 05:55:58 +0000 (GMT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 700F843D46 for ; Wed, 24 Nov 2004 05:55:57 +0000 (GMT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([138.88.229.154]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041124055554.BGAR1463.out003.verizon.net@kirk.dlee.org> for ; Tue, 23 Nov 2004 23:55:54 -0600 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.11/8.12.11) with ESMTP id iAO5tnoU094480 for ; Wed, 24 Nov 2004 00:55:49 -0500 (EST) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.11/8.12.11/Submit) id iAO5tmJF094479 for freebsd-questions@freebsd.org; Wed, 24 Nov 2004 00:55:49 -0500 (EST) (envelope-from dgl) Date: Wed, 24 Nov 2004 00:55:48 -0500 From: Doug Lee To: freebsd-questions@freebsd.org Message-ID: <20041124055548.GS597@kirk.dlee.org> Mail-Followup-To: Doug Lee , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Bartimaeus Group User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [138.88.229.154] at Tue, 23 Nov 2004 23:55:52 -0600 Subject: How best to recover from untimely portupgrade interruption? 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, 24 Nov 2004 05:55:58 -0000 I'm afraid I missed the note in /usr/ports/UPDATING about portupgrade building INDEX, so when a simple upgrade stalled for three hours (p166 here) without doing anything obvious, I'm afraid I typed ^C. Portupgrade was rebuilding the database, and the ^C made it move on to the index, which I again stopped with ^C now knowing I'd actually interrupted something other than an infinite loop. Now if I rerun portupgrade, it restarts the index build but warns me about an incomplete dependency list. I assume this is because I shot down the database builder. That part of the process doesn't seem to want to rerun though... So my question is, what is the best recommended way to get everything back in order? I assume I need to do something to make the database rebuild restart, but I'm not sure what that is. Portupgrade's process isn't interactive like my pkgdb runs, and I didn't snag a ps list at the time, so I'm not sure what it was doing. Again, my apologies for missing the /usr/ports/UPDATING alert about this... Please Cc replies to me. -- Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01)