upgrading all installed packages problem.
Kent Stewart
kstewart at owt.com
Fri Dec 2 10:16:45 PST 2005
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 at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
More information about the freebsd-questions
mailing list