Corrupted rpm database - how to fix

Sam Varshavchik mrsam at courier-mta.com
Thu Dec 22 23:53:16 UTC 2005


Bob Hartung writes:

> Hi all,
>    I had need to remove tomcat5 and install tomcat4 using jpackage.repos 
> & yum.  Now I have rpm db entries for both tomcat4 and tomcat5 when I do 
> an rpm -qa | grep tomcat, but there are no files listed when I do an rpm 
> -ql [package].  Please point me to info on how to get these bad entries 
> out of the db.  rpm --rebuilddb did not work.

Remove the __db* files from /var/lib/rpm and try rpm --rebuilddb again.  And 
if that still doesn't work, you're boned.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20051222/c03b7656/attachment-0002.bin 


More information about the users mailing list