How can I recover from an unrepairable rpm database by using the rpm database from another machine in Red Hat Enterprise Linux 5/6 or 7?

Updated -

Release Found: Red Hat Enterprise Linux 5/6/7


If the rpm database is corrupted beyond repair it may be simpler, depending on setup, to reinstall. Copying the rpm database from another machine is possible, although generally not advised. Since machines are rarely 100% identical, copying the database from another machine will result in differences tha...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.