RSS

rpmdb: PANIC: fatal region error detected; run recovery

13 Jan

rpmdb: PANIC: fatal region error detected; run recovery

So to resolve the above issue Just do following things:

– Clean all yum cache

– Rebuild the rpm database

– Perform a fresh and clean yum update again

1. Clean all yum cache

This is easy just perform the following command :

yum clean all

rm -f /var/lib/rpm/__db*

That will get rid all the yum caches and refresh everything and of course deletes the rpm database package.

2. Rebuild the rpm database

Rebuild the rpm database packages again by executing:

rpm –rebuilddb

It may takes some times for this process and once it done, you should get the command prompt back.

3. Perform a fresh and clean yum update again

And normal practice, perform the yum update again

yum update -y

And yum update will run the update again with a fresh rpm database package and updates it cache as well … and so yum lives happily ever after.

It Really Solves The Problem 😉

Advertisements
 
Leave a comment

Posted by on January 13, 2012 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: