Probleme mit pkgdb

From: Manuel Stuehn <FreeBSDnewbie(at)freenet.de>
Date: Wed, 9 Apr 2003 16:19:24 +0200

Hallo an alle,
gerade hab ich die Ports per cvs auf den neuesten Stand gebracht, und
einige Ports (XFree86-Server, Xft via portupgrade) erneuert, da kam
dieses:

Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 349
packages found (-1 +1)
(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:447: [BUG]
Segmentation fault ruby 1.6.7 (2002-07-11) [i386-freebsd4]
Abort trap (core dumped)

anschliessend wollte ich ruby deinstallieren, aber:

# pkg_deinstall ruby
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 349
packages found (-1 +1)
(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:447:in `each': tried
to allocate too big memory (NoMemoryError) from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:447:in `select' from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:447:in `update_db'
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:566:in `open_db'
 from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:727:in
`installed_pkgs' from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:633:in `installed_pkg?'
   from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:212:in `pkg'
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:753:in `glob'
from /usr/local/sbin/pkg_deinstall:236:in `main' ... 6
levels... from /usr/local/sbin/pkg_deinstall:85:in `initialize'
        from /usr/local/sbin/pkg_deinstall:85:in `new'
        from /usr/local/sbin/pkg_deinstall:85:in `main'
        from /usr/local/sbin/pkg_deinstall:413

Danach hab ich portupgrade (und ruby) mittels pkg_delete entfernt und
via den Ports von heute samt den Abhängigkeiten wieder auf den
aktuellen Stand gebracht, aber leider kommen immer noch diese
Fehlermeldungen.

root(at)home:/usr/home/manuel# pkgdb -F
---> Checking the package registry database
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 350
packages found (-5 +6)
(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:454:in `each': tried
to allocate too big memory (NoMemoryError) from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:454:in `select' from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:454:in `update_db'
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:579:in `open_db'
 from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:748:in
`installed_pkgs' from /usr/local/sbin/pkgdb:292:in
`fix_db_init' from /usr/local/sbin/pkgdb:284:in `fix_db'
        from /usr/local/sbin/pkgdb:231:in `main'
        from /usr/local/sbin/pkgdb:64:in `initialize'
        from /usr/local/sbin/pkgdb:64:in `new'
        from /usr/local/sbin/pkgdb:64:in `main'
        from /usr/local/sbin/pkgdb:1044

Was habe ich davon zu halten ??? Und wie kann ich die Datenbank
wiederherstellen?

Danke

Manuel

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 09 Apr 2003 - 16:16:43 CEST

search this site