From owner-freebsd-questions@FreeBSD.ORG Fri Dec 2 18:16:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6077316A41F for ; Fri, 2 Dec 2005 18:16:45 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1175F43D64 for ; Fri, 2 Dec 2005 18:16:44 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id jB2IGhx4009236; Fri, 2 Dec 2005 10:16:43 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Fri, 2 Dec 2005 10:16:46 -0800 User-Agent: KMail/1.8.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512021016.46405.kstewart@owt.com> Cc: Mehmet Fatih AKBULUT Subject: Re: upgrading all installed packages problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 18:16:45 -0000 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 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