Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 2004 15:09:46 +0200 (CEST)
From:      Peter Ulrich Kruppa <root@pukruppa.de>
To:        Hans Lambermont <hans@lambermont.dyndns.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkgdb -F again
Message-ID:  <20040706150157.A25593@pukruppa.net>
In-Reply-To: <20040706122956.GA36902@moya.lambermont.dyndns.org>
References:  <20040706122956.GA36902@moya.lambermont.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Jul 2004, Hans Lambermont wrote:

> # pkgdb -F
> --->  Checking the package registry database
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 329 packages found (-3 +3) (...)... done]
> Stale dependency: linux-expat-1.95.5_1 -> linux_base-7.1_7 (emulators/linux_base):
> [Failed `Inappropriate file type or format'] [Updating the portsdb
> <format:bdb1_btree> in /usr/ports ... - 11185 port entries found .........1000.........2000.........3000.........4000......../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
> [BUG] Segmentation fault
> ruby 1.8.1 (2004-05-02) [i386-freebsd5]
> Abort (core dumped)
>
> and
>
> # portsdb -fu
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11185 port entries found .........1000.........2000.........3000.........4000......../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
> [BUG] Segmentation fault
> ruby 1.8.1 (2004-05-02) [i386-freebsd5]
> Abort (core dumped)
>
> This is on 5.1-C as of may 30, with ruby-1.8.1.2004.05.02
> ruby18-bdb1-0.2.2 and portupgrade-20040701_1.
>
> I removed ruby ruby18-bdb and portupgrade, and reinstalled, but that did
> not help.
>
> Anyone ?
There were problems with ruby and protupgrade some months ago.
This is from /usr/ports/UPDATING
 	..............................................
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.

   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.

 	..............................................

Hope this helps,

Uli.



>
> -- Hans
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>


 	+---------------------------+
 	|    Peter Ulrich Kruppa    |
         |         Wuppertal         |
         |          Germany          |
         +---------------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040706150157.A25593>