Displaying 2 results from an estimated 2 matches for "db_verify".
Did you mean:
_verify
2009 Feb 23
7
Recover rpm DB corrupted by disk failure?
Over the weekend my workstation (still on CentOS 3) started showing
SMART errors, so we shut it down and moved everything onto a new
drive. On reboot, the RPM database reports as corrupted and "rpm
--rebuilddb" segmentation faults.
Is there any reasonable way to recover from this, short of a complete
reinstall? The machine is otherwise up though it''s quite likely some
files
2007 Apr 16
3
Yum issue on CentOS 5, x86_64
....4.2-2.el5" specifies multiple packages
[styma14]: rpm -qa | grep subversion
subversion-1.4.2-2.el5
subversion-1.4.2-2.el5
######################################
It appears I have a package installed twice. I tried the
normal "rpm is damaged" sequence of:
rm -f /var/lib/rpm/__db*
db_verify /var/lib/rpm/Packages
rpm --rebuilddb
But that did not help the situation. Are there any suggestions on how
to get
rid of this one piece and get past this error? I tried a -f on the rpm
-e and it
failed the same way.
Bob Styma