Please, how can I extract a name of bad installed software from the rpm's database.

I'm trying to install it again but receive the answer "Package xxxnamexxx is already installed", but this is not true, because the installation was interrupted accidentally. The rpm -e doesn't work in this case.

Very grateful in advance,

JFrech