Glad it ended up working for you.
But I didn't mean query it to see if it was installed.
I meant to say "make sure it's still in the condition it was in when it got installed".
The rpm database keeps md5sums (actually, I'm not sure what kind of checksum it is, might just be CRCs, but it's something) for each file that gets installed. You can have rpm check the integrity of all the files in any one package at any time, I think with rpm -qv <packagename>. But I don't know about the v part, v might need to be something else instead.
If files get changed, this verification will fail.
Of course, it's working now, so it's a moot point anyway.