portupgrade crash on 4.9-stable

Ricardo Oliva ricardo at zoology.ubc.ca
Wed Nov 17 14:11:40 PST 2004


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 at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to  
> "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-stable mailing list