Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 09:51:05 +0800
From:      wsk <wsk@gddsn.org.cn>
To:        Joe Marcus Clarke <marcus@marcuscom.com>, gnome@freebsd.org
Subject:   Re: pkgdb coredump while upgrade gnome2.8-->2.10
Message-ID:  <42363F89.7040700@gddsn.org.cn>
In-Reply-To: <1110850762.6745.12.camel@shumai.marcuscom.com>
References:  <42363B9B.8060302@gddsn.org.cn> <1110850762.6745.12.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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