portupgrade won't run

Kevin Oberman oberman at es.net
Tue Jul 29 11:30:45 PDT 2003


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 <format:bdb1_btree> 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 at es.net			Phone: +1 510 486-8634


More information about the freebsd-ports mailing list