portupgrade crash on 4.9-stable

Ronald Klop ronald-freebsd8 at klop.yi.org
Wed Nov 17 15:04:52 PST 2004


On Wed, 17 Nov 2004 16:21:18 -0500 (EST), Brian Szymanski  
<ski at indymedia.org> 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.

Read /usr/ports/UPDATING and /usr/ports/CHANGES after updating your ports  
tree.
There is the removal of INDEX documented.

About the ruby thing. Try deinstall/reinstall of ruby and portupgrade  
manually and try again. (This is my best guess.)

Ronald.

-- 
  Ronald Klop, Amsterdam, The Netherlands


More information about the freebsd-stable mailing list