From owner-freebsd-stable@FreeBSD.ORG Thu Feb 1 23:22:13 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 8E2FF16A407 for ; Thu, 1 Feb 2007 23:22:13 +0000 (UTC) (envelope-from bri@sonicboom.org) Received: from entwistle.sonicboom.org (entwistle.sonicboom.org [66.93.34.170]) by mx1.freebsd.org (Postfix) with ESMTP id 708D113C471 for ; Thu, 1 Feb 2007 23:22:13 +0000 (UTC) (envelope-from bri@sonicboom.org) Received: from [127.0.0.1] (entwistle.sonicboom.org [66.93.34.170]) by entwistle.sonicboom.org (8.13.8/8.13.8) with ESMTP id l11NMAZJ032491; Thu, 1 Feb 2007 15:22:10 -0800 (PST) (envelope-from bri@sonicboom.org) Message-ID: <45C27621.1050803@sonicboom.org> Date: Thu, 01 Feb 2007 15:22:09 -0800 From: Brian User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Ilya Vishnyakov References: <45C26DDC.1090305@edpausa.com> In-Reply-To: <45C26DDC.1090305@edpausa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org 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: Thu, 01 Feb 2007 23:22:13 -0000 Ilya Vishnyakov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (MingW32) > > iD8DBQFFwm3cGaMWa0kHPPoRArF9AJ9QZYfG8YxX9BI235KHohUqyO9VAACeKEhv > oyE6wytzxeHn0Ah3iarCWkk= > =C346 > -----END PGP SIGNATURE----- > > _______________________________________________ > 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