Re: Problem mit ruby/portupgrade

From: Florian Unglaub <usenet04(at)rootofallevil.net>
Date: Sat, 20 Mar 2004 15:15:17 +0100

On Sa, Mär 20, 2004 at 01:10:30pm +0000, Dieter Franzke wrote:

[kaputtes portupgrade]

> manchmal lohnt ein Blick in die
> /usr/ports/UPDATING
>
> ---- snip -----
>
> 20040226:
> AFFECTS: i386 users of ruby and portupgrade
>
> 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.

Trifft nicht auf mich zu, ist auch kein Eintrag in /etc/make.conf
vorhanden. Soweit ok, also Schritt 1.

> 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)

Ok, habe ich gemacht.

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

So, ab hier funktioniert schon nichts mehr:

zaphod# portupgrade -fr lang/ruby16
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 634
packages found (-7 +8) (...)[Updating the pkgdb <format:bdb1_btree> in
/var/db/pkg ... - 634 packages found (-7 +8)
(...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation
fault
ruby 1.8.1 (2003-12-25) [i386-freebsd4]

Abbruch (core dumped)

> 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.
>
> ----- snap ------
>
> schön nach Anleitung vorgehen sollte hier helfen.....

Leider nicht. Siehe oben.

> Ist sowieso ein ab und an ein lesenswertes Dokument.

ACK.

MfG,
Florian.

-- 
Florian Unglaub 			    GnuPG Key ID: FE3A7C44 
<usenet04@rootofallevil.net>	http://rootofallevil.net/files/flo.pub.asc
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 - 15:15:51 CET

search this site