From owner-freebsd-ports@FreeBSD.ORG Wed Jan 31 19:45:51 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C7BB16A402 for ; Wed, 31 Jan 2007 19:45:51 +0000 (UTC) (envelope-from lecocq@lipn.univ-paris13.fr) Received: from smtp009.mail.ukl.yahoo.com (smtp009.mail.ukl.yahoo.com [217.12.11.63]) by mx1.freebsd.org (Postfix) with SMTP id A3E8613C461 for ; Wed, 31 Jan 2007 19:45:50 +0000 (UTC) (envelope-from lecocq@lipn.univ-paris13.fr) Received: (qmail 32928 invoked from network); 31 Jan 2007 19:19:09 -0000 Received: from unknown (HELO ?192.168.2.7?) (miconof@81.57.250.158 with plain) by smtp009.mail.ukl.yahoo.com with SMTP; 31 Jan 2007 19:19:09 -0000 X-YMail-OSG: 0JIZBiUVM1lSwb13V.lLQxScXwJ4Yf62lWrRDi0D2eoeFd.XBjB5dKjzIk0Izv5qmJaFHGRXPjpFd9BI0D8VLTZ4D3Emp5d0OhAlmUf_SirgYF9cB21X16Gj0FpZ0u71E9_5WEOYspPJgxbQb9wPAQFmi2ZDdCW8tuRBM4Kc5anxlTPF7NNPFY.7rQ-- Message-ID: <45C0EBAC.40303@lipn.univ-paris13.fr> Date: Wed, 31 Jan 2007 20:19:08 +0100 From: Le Cocq Michel User-Agent: IceDove 1.5.0.7 (X11/20061014) MIME-Version: 1.0 To: Joel Dahl References: <45C0BA33.6000407@chillt.de> <45C0D1F8.3090405@computer.org> <1170267313.12966.0.camel@dude.automatvapen.se> In-Reply-To: <1170267313.12966.0.camel@dude.automatvapen.se> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org, Eric Schuele Subject: Re: portupgrade-2.2.2_1,2 corrupts portsdb X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 19:45:51 -0000 Joel Dahl a écrit : > Ons 2007-01-31 klockan 11:29 -0600 skrev Eric Schuele: > >> On 01/31/2007 09:48, Bartosz Fabianowski wrote: >> >>> Hi all >>> >>> As part of the daily portupgrade run on my 6-STABLE box, I upgraded >>> sysutils/portupgrade to version 2.2.2_1,2 yesterday. Today, when I tried >>> running this version, I got the following error message: >>> >>> %portupgrade -ai >>> ---> Session started at: Wed, 31 Jan 2007 15:44:44 +0000 >>> [missing key: categories] [Updating the portsdb in >>> /usr/ports ... - 15487 port entries found >>> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.... >>> ..... done] >>> missing key: categories: Cannot read the portsdb! >>> ---> Session ended at: Wed, 31 Jan 2007 15:44:50 +0000 (consumed 00:00:05) >>> /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': database >>> file error (PortsDB::DBError) >>> from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port' >>> from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in >>> `all_depends_list' >>> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in >>> `tsort_build' >>> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each' >>> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in >>> `tsort_build' >>> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build' >>> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in >>> `sort_build!' >>> from /usr/local/sbin/portupgrade:721:in `main' >>> from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize' >>> from /usr/local/sbin/portupgrade:220:in `new' >>> from /usr/local/sbin/portupgrade:220:in `main' >>> from /usr/local/sbin/portupgrade:2084 >>> >>> Apparently, the portsdb database is corrupted somehow, gets rebuilt but >>> is still not acceptable. According to the error message, a key named >>> "categories" seems to be missing from some table. Has anyone else >>> experience this? Is there a workaround or a fix? >>> >> I'm seeing this as well. Though I had thought it was because my >> `/usr/ports/make fetchindex` had failed. >> >> Anyone else? >> > > I get the same error. > > Me too: files/1fba0d7141faec5fdd5806962c8df4b6eed5bcd9e5da53243d4a1813a94de21c.gz not found -- snapshot corrupt. and now I had some file in /usr/ports that i cannot remove... i had to boot in single user mode to do a fsck ... fuck Nomad ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com