createrepo is failing with yum.Errors.RepoError: no such table: changelog

Solution Verified - Updated -


  • We are encountering the following traceback when trying to update our custom yum repo:
# createrepo --update -g /var/repo/custom_prod/6Server/yum-groups.xml /var/repo/custom_prod/6Server >>/tmp/repoupdate.log
Traceback (most recent call last):
  File "/usr/share/createrepo/", line 291, in <module>
  File "/usr/share/createrepo/", line 265, in main
  File "/usr/lib/python2.6/site-packages/createrepo/", line 412, in doPkgMetadata
  File "/usr/lib/python2.6/site-packages/createrepo/", line 568, in writeMetadataDocs
  File "/usr/lib/python2.6/site-packages/yum/", line 1223, in xml_dump_other_metadata
    msg += "%s\n</package>\n" % misc.to_unicode(self._dump_changelog(clog_limit))
  File "/usr/lib/python2.6/site-packages/yum/", line 1182, in _dump_changelog
    if not self.changelog:
  File "/usr/lib/python2.6/site-packages/yum/", line 582, in <lambda>
    changelog = property(fget=lambda self: self.returnChangelog())
  File "/usr/lib/python2.6/site-packages/yum/", line 350, in returnChangelog
  File "/usr/lib/python2.6/site-packages/yum/", line 328, in _loadChangelog
  File "/usr/lib/python2.6/site-packages/yum/", line 55, in newFunc
    raise Errors.RepoError, str(e)
yum.Errors.RepoError: no such table: changelog


  • Red Hat Enterprise Linux 6.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content