Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2005 10:16:46 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        Mehmet Fatih AKBULUT <mfatihakbulut@gmail.com>
Subject:   Re: upgrading all installed packages problem.
Message-ID:  <200512021016.46405.kstewart@owt.com>
In-Reply-To: <eed667140512020351x27679d3dp7a28f593216948c8@mail.gmail.com>
References:  <eed667140512020351x27679d3dp7a28f593216948c8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 02 December 2005 03:51 am, Mehmet Fatih AKBULUT wrote:
> hi all.
> i tried to run #portupgrade -arR but got the error below:
>
>
> root@localhost# portupgrade -arR
> [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 328
> packages found (-7 +128)
> (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG]
> Segmentation fault
> ruby 1.8.2 (2004-12-25) [i386-freebsd5]
>
> Abort trap (core dumped)
> root@localhost#
>
> how can i fix this error ?
> any suggestion ?

You need to update portupgrade and the ruby dependencies and then force 
update the databases. 

I have hit this once in awhile and I have force built each one. I think 
there were cases where I manually had to build ruby to get around the 
database problem that is killing it. 

You can force update the databases with "portsdb -fu" and "pkgdb -fF".

I do as little as possible until it works and each solution was 
different.

Kent

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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