Corrupted rpm database - how to fix

Paul Howarth paul at
Thu Dec 22 13:00:00 UTC 2005

Bob Hartung wrote:
> 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.

Just try:

# rpm -e tomcat4 tomcat5


More information about the fedora-list mailing list