Fix corrupted RPM database on CentOS 5 / Redhat enterprise Linux 5 / Fedora 7
If rpm / yum command hangs during operations or you see error messages - it means your rpm database corrupted. /var/lib/rpm/ stores rpm database just delete the same and rebuild rpm database:
Command to rebuild rpm database
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
Read rpm / yum man pages for more information
You may also be interested in other helpful articles:
- Rebuilding corrupted RPM database
- Download of the day: PostgreSQL 8.3 Database Server
- nixCraft FAQ Roundup
- Howto Backup PostgreSQL Databases Server With pg_dump command
- How to deal with common PHP database problems
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: error_messages, hangs, rm_command, rpm, rpm_command, rpm_rebuilddb, yum



Recent Comments
Yesterday ~ 24 Comments
Yesterday ~ 24 Comments
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
09/05/2008 06:08 pm (2 days ago) ~ 16 Comments