From owner-freebsd-stable@FreeBSD.ORG Fri Mar 2 23:13:14 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BF6116A400 for ; Fri, 2 Mar 2007 23:13:14 +0000 (UTC) (envelope-from phillip@philderbeast.com) Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [203.16.214.141]) by mx1.freebsd.org (Postfix) with ESMTP id E8F1D13C441 for ; Fri, 2 Mar 2007 23:13:13 +0000 (UTC) (envelope-from phillip@philderbeast.com) Received: from ppp167-194.lns4.syd6.internode.on.net (HELO [192.168.0.100]) ([59.167.167.194]) by ipmail02.adl2.internode.on.net with ESMTP; 03 Mar 2007 09:43:10 +1030 X-IronPort-AV: i="4.14,244,1170595800"; d="scan'208"; a="92175565:sNHT84972132" Message-ID: <45E8AF75.8000703@philderbeast.com> Date: Sat, 03 Mar 2007 10:12:53 +1100 From: Phillip Ledger User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <45E7D3E1.5090408@philderbeast.com> <45E83AF5.2010605@jellydonut.org> <45E888CA.9020801@FreeBSD.org> In-Reply-To: <45E888CA.9020801@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Problem with portupgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: phillip@philderbeast.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 23:13:14 -0000 Sergey Matveychuk wrote: >Michael Proto wrote: > > >>Phillip Ledger wrote: >> >> >>>i have been trying to get portupgrade working, however everything i try >>>to run it im getting an error with the portsdb. now i have tryed to >>>rebuild it as requested initaly by portupgrade but im still getting an >>>error >>> >>>portupgrade -aRr >>>[missing key: categories] [Updating the portsdb in >>>/var/tmp ... - 16413 port entries found >>>.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.... >>>..... done] >>>missing key: categories: Cannot read the portsdb! >>>/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 >>> >>> >>>any idea whats causeing the issue or how to fix it? >>> >>> >>Try removing /usr/ports/INDEX-6.db and running "portsdb -u", which >>should rebuild it from your existing /usr/ports/INDEX-6 file. >> >>(if you're using FreeBSD 5 it would be INDEX-5 above). >> >> >> > >If it does not help, you should update portupgrade to the last version >and rebuild the database again. > > > Even after a complete reinstall of the toll and rebuildig the database its still giving the same error. anyumore ideas?