From owner-freebsd-questions@FreeBSD.ORG Fri Aug 4 19:28:21 2006 Return-Path: X-Original-To: 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 BBD9A16A4E6 for ; Fri, 4 Aug 2006 19:28:21 +0000 (UTC) (envelope-from chris@childeric.freeserve.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2823143D6E for ; Fri, 4 Aug 2006 19:28:15 +0000 (GMT) (envelope-from chris@childeric.freeserve.co.uk) Received: from [172.23.170.142] (helo=anti-virus02-09) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1G95LC-00038a-4u; Fri, 04 Aug 2006 20:28:14 +0100 Received: from [82.35.115.93] (helo=[192.168.10.60]) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1G95LB-0006OZ-BX; Fri, 04 Aug 2006 20:28:13 +0100 Message-ID: <44D39FC9.1080902@childeric.freeserve.co.uk> Date: Fri, 04 Aug 2006 20:28:09 +0100 From: Chris Whitehouse User-Agent: Thunderbird 1.5 (X11/20060417) MIME-Version: 1.0 To: pete wright References: <57d710000608021725y1070be50g171be359e4ee795d@mail.gmail.com> In-Reply-To: <57d710000608021725y1070be50g171be359e4ee795d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD questions mailing list Subject: Re: Portmanger getting stuck in loop 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: Fri, 04 Aug 2006 19:28:21 -0000 pete wright wrote: > Hi all, > I've got a portmanager question. I've been using it for quite some > time on various systems with great success - until today when i > ctl+c'd in the wrong terminal and broke an upgrade that was going on. > Now when i try to re-run portmanger to get a list of out of date ports > I am getting this: > > > 00109 ----:p5-Math-BigInt-1.77 /math/p5-Math-BigInt > MISSING > 00110 ----:p5-Socket6-0.19 /net/p5-Socket6 > MISSING > 00111 ----:p5-Email-Address-1.86 /mail/p5-Email-Address > MISSING > 00112 ----:lzo2-2.02_1 /archivers/lzo2 > MISSING > > > I've tried various portmanager upgrade attempts (using -u/-f/ and -p) > and all seem to fail with similar messages as this: > > > skipping p5-Math-BigInt-1.77 /math/p5-Math-BigInt marked IGNORE > reason: looping, 3rd attempt at make > skipping p5-Socket6-0.19 /net/p5-Socket6 marked IGNORE reason: > looping, 3rd attempt at make > skipping p5-Email-Address-1.86 /mail/p5-Email-Address marked IGNORE > reason: looping, 3rd attempt at make > skipping lzo2-2.02_1 /archivers/lzo2 marked IGNORE reason: looping, > 3rd attempt at make > > > soo...my question is, is there a way to reset the "state" of what > portmanger things is installed (and what rev's etc...). i am not even > sure if portmanger does this, although i am familiar with rebuilding > the pkgdb after i messed up when using portupgrade ;) > > thanks for any pointers/help! > > -pete > > You could try deleting or editing ignore.db. Mine's in /usr/local/share/portmanager/. Also check /usr/local/etc/portmanager/pm-020.conf. Does make run ok inside each ports directory? Just so you know nothing's really broken. Maybe delete any work directory before and after. There is a note in the man page about not interrupting it at some critical stage. Chris