LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-22-2006, 09:19 PM   #1
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Rep: Reputation: 30
rpmDB error - How to solve problem?


While installing any tools with Yum command I am getting the following error always.

-----------------------
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery
-----------------------

Please suggest what should I do?
 
Old 12-24-2006, 07:01 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Clear yum's cache directory (/var/cache/yum) of all directories, do not worry they will be re-built the next time you use yum. And follow the advice here;

http://www.rpm.org/hintskinks/repairdb-2003-06/
 
Old 12-25-2006, 06:06 AM   #3
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 11.04
Posts: 165

Original Poster
Rep: Reputation: 30
Yes you are right, I needed to repair the rprm database which when I did, it started working again. Now Yum is working.

Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Something wrong when I try to rpm -e *.. rpmdb: PANIC: fatal region error dete... brynjarh Linux - Newbie 8 10-24-2007 02:08 PM
rpmdb-redhat-4-0.20050525.src.rpm/rebuild error louisb Linux - Enterprise 0 07-12-2005 10:19 AM
rpmdb: PANIC error, please tell me what it means natbrazil Fedora 3 02-09-2005 05:32 PM
rpmdb: fatal region error detected; run recovery lil_becky Linux - Newbie 1 01-20-2005 01:00 AM
rpmdb error acid_kewpie Linux - General 0 02-02-2002 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration