From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 15 01:51:13 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 443C916A4CE for ; Tue, 15 Mar 2005 01:51:13 +0000 (GMT) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3E9F43D49 for ; Tue, 15 Mar 2005 01:51:10 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.135] (unknown [218.19.164.157]) by gddsn.org.cn (Postfix) with ESMTP id 0F9D238CB42; Tue, 15 Mar 2005 09:51:09 +0800 (CST) Message-ID: <42363F89.7040700@gddsn.org.cn> Date: Tue, 15 Mar 2005 09:51:05 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.7.3) Gecko/20041116 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: Joe Marcus Clarke , gnome@freebsd.org References: <42363B9B.8060302@gddsn.org.cn> <1110850762.6745.12.camel@shumai.marcuscom.com> In-Reply-To: <1110850762.6745.12.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: Re: pkgdb coredump while upgrade gnome2.8-->2.10 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 01:51:13 -0000 Joe Marcus Clarke : >On Tue, 2005-03-15 at 09:34 +0800, wsk wrote: > > >>lp# sh gnome_upgrade.sh >> >>WARNING: To prevent crashing your system, as well as to significantly speed >>up the upgrade, you are strongly advised to run this program from a console. >>If any GNOME or GTK+-2 application is running, you MUST abort now. >> >>WARNING: If necessary, hit Control-C now, drop to a terminal, and >>restart the >>upgrade. >> >>Hit to continue with the upgrade: >> >>You can watch the upgrade process in real-time by running: >>tail -f /var/tmp/gnome_upgrade_log.8OrDJM >>===> Generating list of ports to upgrade in >>/var/tmp/gnome_upgrade_lst.sYd4gm ...[Updating the pkgdb >> in /var/db/pkg ... >>/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:432: warning: Object#type is >>deprecated; use Object#class >>origins - not a string (NilClass); rebuild needed] [Rebuilding the pkgdb >> in /var/db/pkg ... - 257 packages found (-0 +257) >>.ruby18 in free(): error: chunk is already free >>Abort trap (core dumped) >>DONE. >>===> Generating list of external dependencies ...[Updating the pkgdb >> in /var/db/pkg ... >>/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:432: warning: Object#type is >>deprecated; use Object#class >>origins - not a string (NilClass); rebuild needed] [Rebuilding the pkgdb >> in /var/db/pkg ... - 257 packages found (-0 +257) >>.ruby18 in free(): error: chunk is already free >>DONE. >> >> >> >>>>>>>STAGE 1 of 4: Cleaning the package database. >>>>>>> >>>>>>> >>The nautilus-media port was removed, because its functionality >>was merged into another application. This next step might complain >>about the nautilus-media port no longer existing. When it asks what >>you want to do about it, you can either choose choose "[no]" to >>ignore the issue, or, if (and only if!) you are very familiar with >>pkgdb(1), you can hit CTRL-D to remove the dependency. >> >>===> Running /usr/local/sbin/pkgdb to start with a consistent package >>database ...Abort trap (core dumped) >>FAILED. >>ERROR: /usr/local/sbin/pkgdb repair has failed. Please repair the package >>database by hand (run "pkgdb -F"), then re-run this script. If you require >>additional help, compress /var/tmp/gnome_upgrade_log.8OrDJM, and send it to >>freebsd-gnome@FreeBSD.org. >> >>and run pkgdb -F:lp# pkgdb -F >>---> Checking the package registry database >>[Updating the pkgdb in /var/db/pkg ... >>/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:432: warning: Object#type is >>deprecated; use Object#class >>origins - not a string (NilClass); rebuild needed] [Rebuilding the pkgdb >> in /var/db/pkg ... - 257 packages found (-0 +257) >>.ruby18 in free(): error: chunk is already free >>Abort (core dumped) >> >> > >Remove /var/db/pkg/pkgdb.db, then re-run pkgdb -Ff. Fix any errors that >are reported. Once you have your pkgdb properly initialized, re-try the >gnome_upgrade.sh. > >Joe > > hi,Joe.thanks your reply.but after your instruct,the pkgdb still coredump: lp# pkgdb -aF ---> Checking the package registry database [Rebuilding the pkgdb in /var/db/pkg ... - 257 packages found (-0 +257) .ruby18 in free(): error: page is already free Abort (core dumped) lp# rm -rf /var/db/pkg/pkgdb.db lp# pkgdb -Ff ---> Checking the package registry database [Rebuilding the pkgdb in /var/db/pkg ... - 257 packages found (-0 +257) .ruby18 in free(): error: page is already free Abort (core dumped) any ideas?? thanks again