From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 15:49:16 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C10B516A402 for ; Mon, 23 Apr 2007 15:49:16 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFC113C484 for ; Mon, 23 Apr 2007 15:49:14 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [192.168.1.10]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 8789C28F876; Mon, 23 Apr 2007 15:29:45 +0000 (UTC) Date: Mon, 23 Apr 2007 15:29:45 +0000 (UTC) From: Duane Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: Drew Sanford In-Reply-To: <4628E19E.405@wilderness.homeip.net> Message-ID: <20070423152356.P46466@duane.dbq.yournetplus.com> References: <4628E19E.405@wilderness.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: portupgrade failing, portsdb error 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: Mon, 23 Apr 2007 15:49:16 -0000 On Fri, 20 Apr 2007, Drew Sanford wrote: > I get the following error: > > root@drew(/usr/ports)# portupgrade gnome-vfs > [Updating the portsdb in /usr/ports ... - 16885 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ > ..... done] > [missing key: categories] [Updating the portsdb in > /usr/ports ... - 16885 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 > > I've got Index up to date, I've run portsdb -u, and it seems to think > everything is good. Any recommendations? I've not seen this error before. > Thanks in advance. I saw this when I didn't have the portupgrade port upgraded properly. It has changed the location. >From /usr/ports/UPDATING: 20070205: AFFECTS: everybody AUTHOR: pav@FreeBSD.org New ports category was created - /usr/ports/ports-mgmt Most significant port moved to this new category is portupgrade. So don't be alarmed, it was not deleted. You can find it now in /usr/ports/ports-mgmt/portupgrade