From owner-freebsd-questions@FreeBSD.ORG Mon May 26 13:13:55 2008 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 69D98106564A; Mon, 26 May 2008 13:13:55 +0000 (UTC) (envelope-from jille@quis.cx) Received: from istud.quis.cx (ip83-113-174-82.adsl2.versatel.nl [82.174.113.83]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0B68FC18; Mon, 26 May 2008 13:13:54 +0000 (UTC) (envelope-from jille@quis.cx) Received: by istud.quis.cx (Postfix, from userid 100) id 9E0673984C; Mon, 26 May 2008 14:54:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on istud.quis.cx X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from [192.168.1.4] (ille [192.168.1.4]) by istud.quis.cx (Postfix) with ESMTP id A4C5D39820; Mon, 26 May 2008 14:54:34 +0200 (CEST) Message-ID: <483AB2FD.6040404@quis.cx> Date: Mon, 26 May 2008 14:54:21 +0200 From: Jille User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: gahn References: <596589.42178.qm@web52106.mail.re2.yahoo.com> In-Reply-To: <596589.42178.qm@web52106.mail.re2.yahoo.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: free bsd , freebsd general questions Subject: Re: portupgrade errors 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, 26 May 2008 13:13:55 -0000 Try: # portsdb -fu Or updating your portstree (portsnap fetch update) -- Jille gahn schreef: > Hi all: > > trying to upgrade the ports and got errors: > > /////////////////////////// > > beichuan# portupgrade -a > [Rebuilding the pkgdb in /var/db/pkg ... - 382 packages found (-0 +382) .............................................................................................................................................................................................................................................................................................................................................................................................. done] > [Updating the portsdb in /usr/ports ... - 18529 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000..... ..... done] > [missing key: categories] [Updating the portsdb in /usr/ports ... - 18529 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000..... ..... done] > missing key: categories: Cannot read the portsdb! > /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:567:in `open_db': database file error (PortsDB::DBError) > from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:736:in `port' > from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:924:in `all_depends_list' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' > from /usr/local/sbin/portupgrade:694:in `main' > from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize' > from /usr/local/sbin/portupgrade:210:in `new' > from /usr/local/sbin/portupgrade:210:in `main' > from /usr/local/sbin/portupgrade:1981 > > /////////////////////////////////// > > were the errors from my side or from the portal side? > > Thanks > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"