Results 1 to 8 of 8
Hi,
I am running fedora core 2. I just installed it and ran the yum program to update the softwares.
Now midway it kindof got stuck and i terminated the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-23-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- tallahassee,florida
- Posts
- 3
rpm database recovery
Hi,
I am running fedora core 2. I just installed it and ran the yum program to update the softwares.
Now midway it kindof got stuck and i terminated the program.
Now when i try to run yum it says that the database is ciorrupted and needs ro be recovered.
Error message like ->
ror: error(-3097
getting "system-config-display.mo" records from Basenames index
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097
from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-3097
getting "system-config-display.mo" records from Basenames index
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097
from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-3097
getting "system-config-display.mo" records from Basenames index
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097
from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-3097
getting "system-config-display.mo" records from Basenames index
************************************************** *****
I tried running the following commands to solve this problem ->
rm -f /var/lib/rpm/__db*
#db_verify /var/lib/rpm/Packages
#rpm --rebuilddb
But the third command again gives an error ->
[root@localhost root]# rpm -rebuilddb
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097
from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index
************************************************** ****************
SOS !!!!
Can anybody help out ??
Regards,
Atulya
- 03-23-2005 #2Just Joined!
- Join Date
- Jan 2005
- Location
- tallahassee,florida
- Posts
- 3
Re:rpm database recovery
Hi Guys,
Got the solution to the problem..
the commands
rm -f /var/lib/rpm/__db*
#db_verify /var/lib/rpm/Packages
#rpm --rebuilddb
indeed do the trick.
What i was doing wrong was i didnt realise that there were 2 underscores in _ _ db*.
My bad !!
Anyway,got to learnt another feature of linux through this.
Thanks and regards
Atulya
- 03-23-2005 #3Linux Enthusiast
- Join Date
- Oct 2004
- Posts
- 609
Re:rpm database recovery
Good work!
Originally Posted by atulyamahajan
Try that with Windows
- 06-07-2007 #4
Man, this post saved my computer from being smashed to the ground

I thought I'm doing something wrong during updates and so on ...
Still, 'cause I'm a newbie in Linux, would someone tell me what was the cause of error? I would like to know more on how Suse manages updates. I mean, why this sequence of commands solved the problem ...
- 06-07-2007 #5
those commands removed rpm database and rebuild new. this problem pops up when rpm database gets corrupted coz of broken updates and unmet dependencies.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-07-2007 #6
Ok, that makes sense.
So all that commands' purpose was to reset the "bad history" for rpm installations. Indeed I had some problems installing the drivers for my printer. So from what you're saying, this could be the reason for having a corrupted rpm database. Am I getting this right?
- 09-28-2007 #7Just Joined!
- Join Date
- Aug 2006
- Posts
- 48
- 09-28-2007 #8
Hi helpmeforlinux !
This thread is pretty old. I would suggest you to start a new thread and explain your problem in detail there only.
Sorry for inconvenience.
Thread Locked.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First




