[pirut] update error: "error was [Errno -1] Metadata file does not match checksum"

Solution Verified - Updated -

Issue

  • Software updater (pirut)  output the following messages

    Component: pirut
    Summary: TB7d428655 
    rhnplugin.py:319:_getFile:RepoError: failed to retrieve 
    repodata/ab5d34f2998b539eb48be1bb43539c4adf6edc0b-updateinfo.xml.gz from
     rhel-x86_64-client-5
    error was [Errno -1] Metadata file does not match checksum
    
    Traceback (most recent call last):
      File "/usr/sbin/pup", line 617, in ?
        main()
      File "/usr/sbin/pup", line 613, in main
        pup.run()
      File "/usr/sbin/pup", line 451, in run
        self.doRefresh()
      File "/usr/sbin/pup", line 291, in doRefresh
        self.populateUpdates()
      File "/usr/sbin/pup", line 347, in populateUpdates
        self.updateMetadata.add(repo)
      File "/usr/lib/python2.4/site-packages/yum/update_md.py", line 367, in add
        md = obj.retrieveMD(mdtype)
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1484, in retrieveMD
        return self._retrieveMD(mdtype)
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1524, in _retrieveMD
        cache=self.http_caching == 'all')
      File "/usr/lib/yum-plugins/rhnplugin.py", line 319, in _getFile
        raise yum.Errors.RepoError, \
    RepoError: failed to retrieve repodata/ab5d34f2998b539eb48be1bb43539c4adf6edc0b-updateinfo.xml.gz from rhel-x86_64-client-5
    error was [Errno -1] Metadata file does not match checksum
    
    Local variables in innermost frame:
    e: [Errno -1] Metadata file does not match checksum
    url: None
    text: rhel-x86_64-client-5/updateinfo
    self: rhel-x86_64-client-5
    cache: False
    reget: None
    relative: repodata/ab5d34f2998b539eb48be1bb43539c4adf6edc0b-updateinfo.xml.gz
    start: None
    checkfunc: (<bound method RhnRepo.checkMD of <rhnplugin.RhnRepo object at 0x121bb650>>, ('updateinfo',), {})
    copy_local: 1
    end: None
    local: /var/cache/yum/rhel-x86_64-client-5/ab5d34f2998b539eb48be1bb43539c4adf6edc0b-updateinfo.xml.gz
    

Environment

  • Red Hat Enterprise Linux 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