From owner-freebsd-questions@FreeBSD.ORG Thu Mar 31 20:47:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B9BE10657AE for ; Thu, 31 Mar 2011 20:47:03 +0000 (UTC) (envelope-from roland@micite.net) Received: from smtp05.online.nl (smtp05.online.nl [194.134.41.35]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB9F8FC08 for ; Thu, 31 Mar 2011 20:47:01 +0000 (UTC) Received: from smtp05.online.nl (localhost [127.0.0.1]) by smtp05.online.nl (Postfix) with ESMTP id 792F252042 for ; Thu, 31 Mar 2011 22:47:00 +0200 (CEST) Received: from lutetium.micite.net (s529d340f.adsl.wanadoo.nl [82.157.52.15]) by smtp05.online.nl (Postfix) with ESMTP for ; Thu, 31 Mar 2011 22:46:59 +0200 (CEST) Received: (qmail 28234 invoked from network); 31 Mar 2011 20:46:52 -0000 Received: from unknown (HELO ?192.168.1.70?) (192.168.1.70) by lutetium.lan with SMTP; 31 Mar 2011 20:46:52 -0000 Message-ID: <4D94E843.8060502@micite.net> Date: Thu, 31 Mar 2011 22:46:59 +0200 From: Roland van Laar User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D917319.20309@micite.net> In-Reply-To: <4D917319.20309@micite.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Online-Scanned: by Cloudmark authority (on smtp05.online.nl) Subject: Re: ruby cpu 100% hang during pkgdb -F 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: Thu, 31 Mar 2011 20:47:03 -0000 Hello, I'm asking again about pkgdb -F because it's still running. On 03/29/2011 07:50 AM, Roland van Laar wrote: > Hello, > > I updated FreeBSD 8.0 to 8.2 with freebsd-update. > Everything went fine till I got to the ports: > I used the commands: > > # pkgdb -F > > gives me this: > > ---> Checking the package registry database > [Rebuilding the pkgdb in /var/db/pkg ... - 185 > packages found (-0 +185) > ....................................................................................................100..................................................................................... > done] > Stale origin: 'devel/automake19': perhaps moved or obsoleted. > -> The port 'devel/automake19' was removed on 2010-10-07 because: > "No longer required by any port" > -> Hint: automake-1.9.6_3 is not required by any other package > -> Hint: checking for overwritten files... > -> No files installed by automake-1.9.6_3 have been overwritten by > other packages. > Deinstall automake-1.9.6_3 ? [no] yes > Checking zh_tw-freebsd-doc-20100625 Regenerating +REQUIRED_BY files Checking for cyclic dependencies After more than 55 hours of runtine pkgdb -F still hasn't finished and is 'Checking for cyclic dependencies'. Is it normal that pkgdb -F takes such a long time? And is there something I can do to fix this? Roland > What do I need to do to update my ports? > > tldr: updated ports, rm /var/db/pkg/pkgdb.db and pkgdf -F hangs at > 100% cpu.