On Fri, 2002-11-01 at 18:01, Declan McArdle wrote: > Hi, > > Following on from the rpm thread of last month, I believe I have a > corrupt RPM database. > > I've followed the instructions on http://www.rpm.org/hintskinks/repairdb > but I get as far as the SEGV. (I'll log a bug with Bugzilla as per Jeff > Johnson's next instructions at the above page - but in the meantime...) > > [root@bosher2 /]# rpm -qa > error: rpmdbNextIterator: skipping h# 182 Header V3 DSA signature: > BAD, key ID db42a60e > newt-0.51.0-1 > gnome-pim-1.2.0-13 > error: rpmdbNextIterator: skipping h# 182 Header V3 DSA signature: > BAD, key ID db42a60e > acl-2.0.11-2 > [...] > error: rpmdbNextIterator: skipping h# 182 Header V3 DSA signature: > BAD, key ID db42a60e > gdk-pixbuf-0.18.0-4 > Segmentation fault > > There appears to be an uncorrupt set of RPM database files in: > /usr/lib/rpmdb/i386-redhat-linux/redhat - but I think they're from the > install? > > If anyone has any advice on how to fix this, I'd appreciate it. ---- I think that the advice rm -fr /var/lib/rpm/__* is good but you have to make sure that all process which might be building/accessing are killed first such as /usr/bin/up2date or /bin/rpm. try ps aux and see if either of those processes are running. If so, kill them. Then remove the files mentioned above - then rpm --rebuilddb and it should work. Craig -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list