From owner-freebsd-ports@FreeBSD.ORG Tue Jul 29 11:30:45 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62B0937B401; Tue, 29 Jul 2003 11:30:45 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD3C43F75; Tue, 29 Jul 2003 11:30:44 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Tue, 29 Jul 2003 11:30:41 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id EED365D07; Tue, 29 Jul 2003 11:30:40 -0700 (PDT) To: knu@freebsd.org Date: Tue, 29 Jul 2003 11:30:40 -0700 From: "Kevin Oberman" Message-Id: <20030729183041.EED365D07@ptavv.es.net> cc: ports@freebsd.org Subject: portupgrade won't run X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 18:30:45 -0000 I am not able to run any of the portupgrade tools. They simply have in a loop that eats the entire CPU. I have done portsdb -Uu to update the databases and tried pkgdb -F, but that fails. Turning on debug, I get: Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.6/pkgmisc.rb:5 - No such file to load -- features/ruby18/enum /usr/local/lib/ruby/site_ruby/1.6/dl/import.rb:12: warning: instance variable @types not initialized /usr/local/lib/ruby/site_ruby/1.6/dl/import.rb:18: warning: instance variable @SYM not initialized /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:611: warning: instance variable @db not initialized /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:611: warning: instance variable @db not initialized /usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:504: warning: instance variable @db not initialized /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:611: warning: instance variable @db not initialized /usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:504: warning: instance variable @db not initialized ---> Checking the package registry database /usr/local/sbin/pkgdb:280: warning: global variable `$interactive' not initialized /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:575: warning: instance variable @db not initialized /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:347: warning: instance variable @db not initialized /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:611: warning: instance variable @db not initialized [Updating the pkgdb in /var/db/pkg ... - 396 packages found (-1 +1) (...)Exception `BDB1::Fatal' at /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:454 - Invalid argument Exception `PkgDB::DBError' at /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:516 - Invalid argument: Cannot update the pkgdb!] Invalid argument: Cannot update the pkgdb!] Is there any reasonable way to recover from this? Thanks! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634