From owner-freebsd-stable@FreeBSD.ORG Thu Feb 1 09:41:10 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 238E716A408 for ; Thu, 1 Feb 2007 09:41:10 +0000 (UTC) (envelope-from dzalewski@open-craft.com) Received: from zeus.lunarpages.com (zeus.lunarpages.com [216.193.211.2]) by mx1.freebsd.org (Postfix) with ESMTP id 089AF13C4B3 for ; Thu, 1 Feb 2007 09:41:05 +0000 (UTC) (envelope-from dzalewski@open-craft.com) Received: from [196.218.200.206] (helo=polonium.opencraft.local) by zeus.lunarpages.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HCYRF-00061C-At for freebsd-stable@freebsd.org; Thu, 01 Feb 2007 01:41:06 -0800 From: Dominik Zalewski Organization: OpenCraft To: freebsd-stable@freebsd.org Date: Thu, 1 Feb 2007 11:42:13 +0200 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702011142.13843.dzalewski@open-craft.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zeus.lunarpages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - open-craft.com X-Source: X-Source-Args: X-Source-Dir: Subject: portupgrade missing key: categories: Cannot read the portsdb! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dzalewski@open-craft.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 09:41:10 -0000 Hi All, I've just updated my portstree and I'm trying to run portupgrade , which gives me following error: [root@silicon /usr/ports]# portupgrade -ai ---> Session started at: Thu, 01 Feb 2007 11:22:00 +0200 [missing key: categories] [Updating the portsdb in /usr/ports ... - 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! ---> Session ended at: Thu, 01 Feb 2007 11:22:06 +0200 (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 Cannot read the portsdb? [root@silicon /usr/ports]# ls -l /var/db/pkg/pkgdb.db -rw-r--r-- 1 root wheel 5272576 Feb 1 10:56 /var/db/pkg/pkgdb.db I also tried to delete pkgdb.db and recreate it using pkgdb -u , it didnt help. I'm running FreeBSD 6.1-RELEASE with portupgrade-2.2.2_1,2 Any ideas? Thank you in advance, Dominik