Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 19:57:15 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        wsk <wsk@gddsn.org.cn>
Cc:        gnome@freebsd.org
Subject:   Re: pkgdb coredump while upgrade gnome2.8-->2.10
Message-ID:  <opsnno1p0x9aq2h7@mezz.mezzweb.com>
In-Reply-To: <42363F89.7040700@gddsn.org.cn>
References:  <42363B9B.8060302@gddsn.org.cn> <1110850762.6745.12.camel@shumai.marcuscom.com> <42363F89.7040700@gddsn.org.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Mar 2005 09:51:05 +0800, wsk <wsk@gddsn.org.cn> 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 <ENTER> 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
>>> <format:dbm_hash> 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
>>> <format:dbm_hash> 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
>>> <format:dbm_hash> 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
>>> <format:dbm_hash> 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 <format:dbm_hash> 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
>>> <format:dbm_hash> 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 <format:dbm_hash> 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 <format:dbm_hash> 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



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