Technix
Technology Weblog

Posts Tagged ‘centos

Repair Corrupt RPM databases

March 12, 2009

Sometimes RPM databases become corrupt. You will no longer be able to install/upgrade/remove programs using YUM or RPM command. Even RPM quey simply gets hung. This is the case when you need to repair RPM databases. You can use the simple script to do it. cp -pr /var/lib/rpm{,`data +%F`.bk} rm -f /var/lib/rpm/__db* rpm -vv –rebuilddb […]

Follow

Get every new post delivered to your Inbox.