From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 16:32:27 2007 Return-Path: X-Original-To: freebsd-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 BAE7D16A41F for ; Tue, 12 Jun 2007 16:32:27 +0000 (UTC) (envelope-from stevan_tiefert@yahoo.de) Received: from smtp108.plus.mail.re1.yahoo.com (smtp108.plus.mail.re1.yahoo.com [69.147.102.71]) by mx1.freebsd.org (Postfix) with SMTP id 7011513C4B9 for ; Tue, 12 Jun 2007 16:32:27 +0000 (UTC) (envelope-from stevan_tiefert@yahoo.de) Received: (qmail 51002 invoked from network); 12 Jun 2007 16:05:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Received:X-YMail-OSG:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=xGRhGUwW81JWyMTkqvNQqJuC26Rr2Ahj745N6Pkb4D+bYv9erVF36R1U7r9p0KV5sPmLV5pDQY2Nhxc2kVF9tV8LtoTQGz/WyHdlQu0sU3nzdBZqX+wmgBc0ytTEJwh/FE2aPqIrqajCjtCvpTvhZBu8xF+ZwFPm4wg1Xo87Xvc= ; Received: from unknown (HELO ?192.168.2.100?) (stevan_tiefert@84.165.82.89 with plain) by smtp108.plus.mail.re1.yahoo.com with SMTP; 12 Jun 2007 16:05:45 -0000 X-YMail-OSG: q.NmSUMVM1klOOO4F.rHJjgL8EliYddw1kQ6jZfLDIl7ea8O From: Stevan Tiefert To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 12 Jun 2007 18:05:14 +0200 Message-Id: <1181664323.4796.9.camel@vagabund.w33> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: failing portupgrade 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: Tue, 12 Jun 2007 16:32:27 -0000 Hello list, I am using following system (appending output of uname -a): FreeBSD vagabund.w33 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I installed portupgrade and portaudit from 6.2-RELEASE-CD. Updated my ports via csup like the handbook described. After a run of portaudit -a I had to upgrade some ports. E. g. to upgrade gtar, and that happened (appending a log of script): Script started on Tue Jun 12 17:50:12 2007 vagabund# portupgrade -P gtar-1.15.1_2 cd: can't cd to /usr/ports/sysutils/portupgrade cd: can't cd to /usr/ports/sysutils/portupgrade [missing key: categories] [Updating the portsdb in /usr/ports ... - 17271 port entries found .........1000.........2000.........3000.........4000.........5000. ........6000.........7000.........8000.........9000.........10000....... ..11000.........12000.........13000.........14000.........15000......... 16000.........17000.. ..... 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 vagabund# exit exit Script done on Tue Jun 12 17:51:15 2007 I would say that this is not normal... :-( I read also /usr/ports/UPDATING but this problem appears nowhere in the document... Could somebody give me a hint, please? ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de