Re: Problem mit ruby/portupgrade

From: Manuel Stühn <FreeBSDnewbie(at)freenet.de>
Date: Sat, 20 Mar 2004 17:51:08 +0100

Am Samstag, 20. März 2004 17:05 schrieben Florian Unglaub:
> On Sa, Mär 20, 2004 at 04:14:14pm +0100, Christian Lackas wrote:
> > * Florian Unglaub <usenet04(at)rootofallevil.net> [040320 16:08]:
> >
> > Hallo Florian,
> >
> > > > schön nach Anleitung vorgehen sollte hier helfen.....
> > >
> > > Leider nicht. Siehe oben.
> >
> > bei dir ist es ja auch schon zu spät. Wenn du das *vor* deinem
> > »portupgrade -a« gemacht hättest, dann hätte es vermutlich geklappt.
> > Jetzt solltest du einfach portupgrade und ruby* deinstallieren und dann
> > portupgrade neu bauen (was ja auch in der Anleitung empfohlen wird).
>
> Ok, ich habe jetzt portupgrade und alle ruby*-Pakete deinstalliert
> (pkg_delete "portupgrade*" && pkg_delete "ruby*").
> Dann habe ich portupgrade aus dem ports-tree neugebaut. Wenn ich jetzt
> versuche bei Schritt 2 weiterzumachen passiert folgendes:
>
> ----Schnipp----
> zaphod# portupgrade -fr lang/ruby16
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 631
> packages found (-8 +6)
> (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467:in `select': failed
> to allocate memory (NoMemoryError)
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467:in
> `update_db'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:592:in `open_db'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:759:in
> `installed_pkgs'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:659:in
> `installed?'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:227:in `pkg'
> from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:785:in `glob'
> from /usr/local/sbin/portupgrade:533:in `main'
> from /usr/local/sbin/portupgrade:531:in `catch'
> ... 7 levels...
> from /usr/local/sbin/portupgrade:207:in `initialize'
> from /usr/local/sbin/portupgrade:207:in `new'
> from /usr/local/sbin/portupgrade:207:in `main'
> from /usr/local/sbin/portupgrade:1846
> zaphod#
> ----Schnipp-----
>
> Stehe ich im Moment etwas auch dem Schlauch? Wenn ich deine Antwort
> richtig verstanden habe, dann hätte ich doch genau das machen sollen,
> oder?
Hallo.
Vielleicht ist auch die Paketdatenbank von Portupgrade kaputt. Versuch die
doch mal neu zu erstellen.
Ich glaub das ging mit
# pkgdb -fu

Gruß
Manuel

-- 
People who claim Windows is superior to Unix are the same people who'd
argue that you better use your hand instead of toilet paper to wipe your
ass. I can hear them now - 'It's colourful and it's intuitive and easy
to use and even a child could do it.'.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 20 Mar 2004 - 17:51:21 CET

search this site