Re: portupgrade liefert Fehler

From: Daniel Graupner <listen(at)danielgraupner.de>
Date: Sat, 02 Jul 2005 14:30:36 +0200

Uah,

man sollte halt doch erst schauen. Ich hatte den crash damals weil bdb
buggy war und in einfach die Umgebungsvar
PORTS_DBDRIVER=bdb1_hash
gesetzt, das war der workaround. Wenn ich die var jetzt entferne geht
wieder ales..hmm.

Grüße, Daniel.

Lars Engels schrieb:
> 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 - 14:31:43 CEST

search this site