Fedora Linux Support Community & Resources Center
  #1  
Old 12th November 2009, 10:18 PM
Thaidog Offline
Registered User
 
Join Date: Feb 2006
Posts: 184
linuxfedorafirefox
Question yum update - Fatal error, run database recovery

I am getting an error from yum update and Kpackagekit:

[root@asus-m4n82 tylerm]# yum update
Loaded plugins: refresh-packagekit
Setting up Update Process
rpmdb: page 18816: illegal page type or format
rpmdb: PANIC: Invalid argument
rpmdb: Packages: pgin failed for page 18816
error: db4 error(-30974) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from dbcursor->c_close: DB_RUNRECOVERY: Fatal error, run database recovery
No Packages marked for Update
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: File handles still open at environment close
rpmdb: Open file handle: /var/lib/rpm/Packages
rpmdb: Open file handle: /var/lib/rpm/Name
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery

How do I "run recovery"?

Edit: Ok so it looks like I had som bad ram in my system that caused this - I found a site that told me to do this:

rm -f /var/lib/rpm/__db*
rpm –rebuilddb
yum clean all

I did this but now when I try something like yum install firefox it pulls in a ton of already installed packages. Any body know how to fix that?
Reply With Quote
  #2  
Old 13th November 2009, 08:40 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,713
linuxfedorafirefox
If this were my system I'd run those commands again and see if anything changes.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 7th September 2011, 12:39 PM
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 34
Posts: 1,183
linuxfirefox
Thumbs up Re: yum update - Fatal error, run database recovery

Quote:
Originally Posted by Thaidog View Post
Edit: Ok so it looks like I had som bad ram in my system that caused this - I found a site that told me to do this:

rm -f /var/lib/rpm/__db*
rpm –rebuilddb
yum clean all
Thanks. That fixed my problem too. I screwed mine up by kill -9ing the process
Reply With Quote
Reply

Tags
database, error, fatal, recovery, run, update, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpmdb: PANIC: fatal region error detected; run recovery icy-flame Using Fedora 6 1st August 2013 05:53 PM
Error (-30977): run database recovery Omega Blue Using Fedora 4 17th November 2006 07:34 AM
Yum update fatal error doyler78 Using Fedora 3 25th March 2006 10:22 AM


Current GMT-time: 03:55 (Saturday, 20-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat