From owner-freebsd-stable@FreeBSD.ORG Fri Feb 2 16:00:35 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 E07A916A49E for ; Fri, 2 Feb 2007 16:00:35 +0000 (UTC) (envelope-from ilya@edpausa.com) Received: from skywalker.edpausa.com (mail.edpausa.com [67.88.41.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7645613C4B2 for ; Fri, 2 Feb 2007 16:00:10 +0000 (UTC) (envelope-from ilya@edpausa.com) Received: from localhost (localhost.edpausa.com [127.0.0.1]) by skywalker.edpausa.com (Postfix) with ESMTP id C0182C94B2; Fri, 2 Feb 2007 11:00:09 -0500 (EST) X-Virus-Scanned: amavisd-new at edpausa.com Received: from skywalker.edpausa.com ([127.0.0.1]) by localhost (skywalker.edpausa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fszAU-5vkTlZ; Fri, 2 Feb 2007 10:59:51 -0500 (EST) Received: from [192.168.0.68] (ilya.edpausa.com [192.168.0.68]) by skywalker.edpausa.com (Postfix) with ESMTP id 3B758C94BB; Fri, 2 Feb 2007 10:59:44 -0500 (EST) Message-ID: <45C35FF1.2000107@edpausa.com> Date: Fri, 02 Feb 2007 10:59:45 -0500 From: Ilya Vishnyakov User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Brian References: <45C26DDC.1090305@edpausa.com> <45C27621.1050803@sonicboom.org> In-Reply-To: <45C27621.1050803@sonicboom.org> X-Enigmail-Version: 0.94.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, rudicba@yahoo.com.ar Subject: Re: portupgrade -arR errors X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 16:00:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian wrote: > Ilya Vishnyakov wrote: Please help me to find out why portupgrade > -arR gives me errors such as: > > 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 However, I run portsdb -Uu and it > didn't show any errors. >> _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > I fixed a similar problem by running portsnap/cvsup, deinstalling > portupgrade, reinstalling portupgrade (a newer version) then > running portupgrade. > Brian Thank you all. It works now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFw1/xGaMWa0kHPPoRAmHlAJ95Nc7RNroqtl/AMWmUxTBBWAi1TACfXE2z YmLUsl6duYz+eadBx4Jv3FQ= =kS1s -----END PGP SIGNATURE-----