Description of problem: rpm database corrupted. rpm --rebuilddb would not fix. need to recover the dabase. Version-Release number of selected component (if applicable): [ming@satan ming]$ rpm --version RPM version 4.2 How reproducible: [ming@satan ming]$ rpm -qa error: rpmdbNextIterator: skipping h# 762 blob size(17176): BAD, 8 + 16 * il(959538789) + dl(811807536) setup-2.5.25-1 bzip2-libs-1.0.2-8 ...... ...... error: rpmdbNextIterator: skipping h# 764 Header V3 DSA signature: BAD, key ID e42d547b sylpheed-claws-0.9.6-1.fr spamassassin-tools-2.60-1 error: rpmdbNextIterator: skipping h# 762 blob size(17176): BAD, 8 + 16 * il(959538789) + dl(811807536) cups-1.1.17-13.3.0.3 libxfce4util-4.0.0-1 xfce4-panel-4.0.0-1 a2ps-4.13b-28 xfce4-themes-4.0.0-1 xfce-utils-4.0.0-1 xfwm4-themes-4.0.0-1 Segmentation fault [ming@satan ming]$ Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: