Running 'yum clean all' should fix this.
We should probably be catching the db exception in yum and propagating it as a
RepoError so that higher level tools don't need to know to catch exceptions from
implementation level details like sqlite