Today when I was trying to install createrepo and repoview, I repeatedly got this weird error: Error: Missing Dependency: python(abi) = 2.4. The problem is strange at first sight because yum is designed to include missing dependencies. The solution is very simple, just run:
rpm –rebuilddb

That's it.