[CentOS] Damaged rpm database?
netwiz at crc.id.au
Sat Oct 6 10:50:18 UTC 2007
1) This could be anything. From file system corruption, to a bug.
2) rpm --rebuilddb will do what you need.
Email: netwiz at crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of M. Fioretti
Sent: Saturday, October 06, 2007 8:27 PM
To: centos at centos.org
Subject: [CentOS] Damaged rpm database?
while doing some maintenance on a Centos 4.4 box, I ran rpm -qa --last
error: rpmdb: damaged header #91 retrieved -- skipping.
...lots of lines identical to the one above and finally:
all the other rpms in reverse installation order
I've seen via google that this should mean there is a damaged rpm
database and it should be rebuilt with one or two command, however:
1) how can I find out _why_ the damage happened?
2) what are the right command and options to restore the database?
The examples I've found are 5+ years old, so I'm not really inclined
to run them as they are.
CentOS mailing list
CentOS at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS