Re: portupgrade liefert Fehler

From: Lars Engels <lars.engels(at)0x20.net>
Date: Sat, 2 Jul 2005 12:57:14 +0200

On Sat, Jul 02, 2005 at 07:17:45AM +0200, Daniel Graupner wrote:
> Hallo,
>
> ich kann mich erinnern, das dieses Problem irgendwie mit bdb
> zusammenhing, zumindest gab es eine Variable in make.conf die es behoben
> hat.
> Kann sich noch jemand erinnern? Ich habe die Mails leider nicht mehr 8-(
>
> Danke, Daniel.
>
> mars@/usr/ports/sysutils/portupgrade: portversion -vL=
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 517
> packages found (-4 +6)
> (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation
> fault
> ruby 1.8.2 (2004-12-25) [i386-freebsd5]
>
> Abort trap (core dumped)
> mars@/usr/ports/sysutils/portupgrade: pkgdb -F
> ---> Checking the package registry database
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 517
> packages found (-4 +6)
> (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466:in `select': failed
> to allocate memory (NoMemoryError)
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466:in `update_db'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:591:in `open_db'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:758: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:1043

Hi Daniel!

Versuchs mal mit reinstallation von ruby und portupgrade. Wenn das
immer noch nicht funktioniert, loesche die pkgdb und erstelle sie neu.

HTH
Lars

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 02 Jul 2005 - 12:58:02 CEST

search this site