From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 15 01:56:16 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 B813416A4CE for ; Tue, 15 Mar 2005 01:56:16 +0000 (GMT) Received: from lakermmtao11.cox.net (lakermmtao11.cox.net [68.230.240.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BF8343D41 for ; Tue, 15 Mar 2005 01:56:16 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao11.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050315015613.CDOH29670.lakermmtao11.cox.net@mezz.mezzweb.com>; Mon, 14 Mar 2005 20:56:13 -0500 To: wsk References: <42363B9B.8060302@gddsn.org.cn> <1110850762.6745.12.camel@shumai.marcuscom.com> <42363F89.7040700@gddsn.org.cn> Message-ID: Date: Mon, 14 Mar 2005 19:57:15 -0600 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <42363F89.7040700@gddsn.org.cn> User-Agent: Opera M2/7.54 (Linux, build 955) cc: gnome@freebsd.org 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:56:17 -0000 On Tue, 15 Mar 2005 09:51:05 +0800, wsk wrote: > 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 How old is your system that you are upgrading from? It sounds like you have failed to follow the /usr/ports/UPDATING? Check '20041224' in the UPDATING. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org