Robert Steele wrote : > I don't know what i did but some how I got the rpmdb > corrupted (or at least that is what I think i did) > > normally when I run "rpm -qa" > I get a list of rpm packeges I have installed. > > but now when I run it i get > > [root@z5 root]# rpm -qa > error: rpmdbNextIterator: skipping h# 3445 Header V3 DSA signature: > BAD, key ID e42d547b nmap-frontend-3.48-1.fr > mergeant-0.12.1-0.dag.rh90 > catchxsl-1.2.1-2jpp [...] > error: rpmdbNextIterator: skipping h# 3443 Header V3 DSA signature: > BAD, key ID db42a60e Segmentation fault > > It list's some of the packages and in between it give me this > > error: rpmdbNextIterator: skipping h# ???? Header V3 DSA signature: > BAD, key ID ???????? > > error. > > I have already run "rpm --rebuilddb" and that has not seem to fix the > problem. Any idea on what i did and how i might fix the problem? >From my experience, what you need to do is : mv /var/lib/rpm/Pubkeys /tmp/ rpm --rebuilddb And it should all be back to normal. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora Core release 1 (Yarrow) - Linux kernel 2.4.22-1.2132.nptl Load : 0.11 0.14 0.22 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list