Damaged rpm database?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

while doing some maintenance on a Centos 4.4 box, I ran rpm -qa --last
and got:

error: rpmdb: damaged header #91 retrieved -- skipping.
...lots of lines identical to the one above and finally:

the_last_package_I_installed_yesterday.rpm
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.

TIA,
	Marco
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux