Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 16:55:34 +0200 (CEST)
From:      Peter Ulrich Kruppa <root@pukruppa.de>
To:        freebsd-ports@freebsd.org
Subject:   Problem with portupgrade & ruby
Message-ID:  <20031013164520.E704@pukruppa.net>

next in thread | raw e-mail | index | archive | help
Hi!

I have
portupgrade-20030723
ruby-1.6.8.2003.04.19
ruby-bdb1-0.2.1
ruby-shim-ruby18-1.8.0.p2.2003.04.19_1

installed on last weekend's -CURRENT .
When I want do any kind of portupgrade (here gnome2) I frequently
receive these errors:

		-------------------------------------------
pukruppa# portupgrade -R gnome2
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 321
packages found (-9 +17)
(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in `each':
negative allocation size (or too big) (NoMemoryError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in
`select'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in
`update_db'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:594:in
`open_db'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:761:in
`installed_pkgs'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:661:in
`installed_pkg?'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:229:in
`pkg'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:787:in
`glob'
        from /usr/local/sbin/portupgrade:533:in `main'
         ... 8 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
		-------------------------------------

In case I am the only one with this problem:
How do I deinstall and reinstall these packages?

I tried pkg_delete and make install but that didn't help.

Regards,

Uli.

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



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