CentOS RPM database trashed, "rpm --rebuilddb" won't fix, can I recover using /var/lib/rpm/ from a 2
Posted
by user18330
on Server Fault
See other posts from Server Fault
or by user18330
Published on 2009-12-14T23:20:12Z
Indexed on
2010/03/17
10:31 UTC
Read the original article
Hit count: 670
My RPM database is shot, neither rpm or yum works. Supposedly "rpm --rebuilddb" will fix it, but it doesn't in my case. This server has three sister servers that are basically identical, and have working RPM databases. I tried copying /var/lib/rpm/ from working server to the sick one, but that didn't fix it. Any ideas of how I can use good server's rpm to fix the sick one?
© Server Fault or respective owner