Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 14:11:32 -0800
From:      Ricardo Oliva <ricardo@zoology.ubc.ca>
To:        "Brian Szymanski" <ski@indymedia.org>
Cc:        freebsd-stable@lists.freebsd.org
Subject:   Re: portupgrade crash on 4.9-stable
Message-ID:  <A3E7E5D6-38E5-11D9-A859-0030657D2842@zoology.ubc.ca>
In-Reply-To: <2761.10.0.0.26.1100726478.squirrel@10.0.0.26>
References:  <2761.10.0.0.26.1100726478.squirrel@10.0.0.26>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-57-15725390
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hi Brian,

Just add:

ENV['PORTS_DBDRIVER'] = 'bdb1_hash'

to your /usr/local/etc/pkgtools.conf.

Ran into that yesterday and came across a page on the web that helped  
me.

Good luck.

Cheers
--
Ricardo Oliva
Core Systems Administrator
Zoology Department
University of British Columbia
Ph.: 604-822-3882
E-mail: ricardo@zoology.ubc.ca

On 17-Nov-04, at 1:21 PM, Brian Szymanski wrote:

> Hi, I'm having a problem with portupgrade on 4.9:
>
> # portupgrade -f sudo\*
> Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
> done
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11962  
> port
> entries found
> .........1000.........2000.........3000.........4000.........5000...... 
> ...6000.........7000.........8000....../usr/local/lib/ruby/site_ruby/ 
> 1.8/portsdb.rb:587:
> [BUG] Segmentation fault
> ruby 1.8.2 (2004-07-29) [i386-freebsd4]
>
> Abort trap (core dumped)
>
> I'm not sure why /usr/ports/INDEX isn't there anymore - it's a problem  
> I'm
> having on all of my 4.x machines - everytime I cvsup portupgrade wants  
> to
> generate an INDEX.tmp before it doesn anything... But the real problem  
> is
> the segfault with ruby, which can be reliably reproduced ad infinitum.
>
> Any ideas?
>
> Thanks in advance.
>
> -- 
> Brian Szymanski
> ski@indymedia.org
>
> I prefer pgp encrypted email:
> keyid:  4E7A4703
> server: keys.indymedia.org
> fingerprint: 5BD3 0B0C C8E3 0746 3550 5648 0CFE 1BE7 4E7A 4703
>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to  
> "freebsd-stable-unsubscribe@freebsd.org"

--Apple-Mail-57-15725390--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A3E7E5D6-38E5-11D9-A859-0030657D2842>