Re: portupgradeund core dump

From: Otto Kucera <ok(at)geeks.at>
Date: Mon, 27 Sep 2004 14:24:39 +0200

hi!

Rainer Duffner wrote:

>Am Mo, den 27.09.2004 schrieb Daniel Graupner um 11:33:
>
>
>>Uli Middelberg schrieb:
>>
>> > Daniel Graupner schrieb:
>> >
>> >>
>> >> "
>> >> portsdb -u
>> >> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11731
>>port entries found .........1000.........2000
>> >>
>>.........3000.........4000.........5000.........6000.........7000.........8000....[BUG]
>>Segmentation fault
>> >> ruby 1.8.2 (2004-07-29) [i386-freebsd5]
>>
>>
ja den schrott hab ich auch gehabt. du gehts vor wie es in
/usr/ports/UPDATING beschrieben ist.

[...]

20040226:
  AFFECTS: i386 users of ruby and portupgrade
  AUTHOR: knu(at)FreeBSD.org

  Change the default version of ruby to 1.8 for i386.

  If you are a ruby developer and want to keep ruby 1.6 as default,
  please add RUBY_DEFAULT_VER=1.6 to /etc/make.conf.

  Otherwise, please run the following series of commands to migrate to
  ruby 1.8:

  1) Reinstall portupgrade manually (and as a result ruby 1.8 will be
     installed):
        pkg_delete portupgrade-\*
        (cd /usr/ports/sysutils/portupgrade; make install clean)

  2) Reinstall everything that depends on ruby 1.6 to use ruby 1.8
     instead:
        portupgrade -fr lang/ruby16

  3) Reinstall ruby 1.8 (because the previous step kills symlinks):
        portupgrade -f lang/ruby18

  4) Deinstall ruby 1.6 stuff (if you are paranoia):
        pkg_deinstall -ri lang/ruby16

  5) If the above commands do now work somehow and portupgrade starts
     causing LoadError, please reinstall portupgrade manually again.
     Whenever you get confused, you can always deinstall portupgrade
     and all the ruby stuff (run "pkg_delete -r ruby-\*") and
     reinstall portupgrade as a last resort.
[...]

dann mußt du die /usr/ports/index.db neu erstellen. dort ist ein fehler
drin. also mit pkgdb -u oder pkgdb -F. da bin ich mit nicht mehr so
sicher. hab leider auch keine zeit jetzt nachzuschauen.

>> >>
>> >
>> > http://www.mail-archive.com/freebsd-stable@freebsd.org/msg62697.html
>>
>>
>>Ich habe mich für den Workaraound für portupgrade entschieden. Nach dem
>>setzen der Umgebungsvariable funktioniert es wieder.
>>
>>
>
>Also bei mir nicht.
>Bzw. hat es auch nach Stunden noch keine Ergebnis gebracht und ein truss
>-p zeigte auch nichts an - ruby18 "hing" einfach so da und hat CPU-Zeit
>verbraten.
>
>
>Hilft es denn, auf RELENG_4_10 zu upgraden ? (Das hier ist 4.9p4).
>
>
>
>
>Rainer
>
>
otto

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 27 Sep 2004 - 14:25:36 CEST

search this site