Bug 464057 - An unhandled exception has occurred in Package Updater.
Summary: An unhandled exception has occurred in Package Updater.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Backend
Version: RHN Stable
Hardware: x86_64
OS: Linux
medium
urgent
Target Milestone: ---
Assignee: rhn-dev-list
QA Contact:
URL:
Whiteboard: us=50335
Depends On:
Blocks: 428922
TreeView+ depends on / blocked
 
Reported: 2008-09-26 04:09 UTC by kitamura
Modified: 2010-12-21 14:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-21 14:40:16 UTC
Embargoed:


Attachments (Terms of Use)

Description kitamura 2008-09-26 04:09:59 UTC
Component: Software Updater
Summary: TBf3313d0f rhnplugin.py:222:_YumRepository__get:RepoError: failed to retrieve repodata/updateinfo.xml.gz from rhel-x86_64-client-workstation-5
error was [Errno -1] Metadata file does not match checksum

Traceback (most recent call last):
  File "/usr/sbin/pup", line 668, in ?
    main()
  File "/usr/sbin/pup", line 664, in main
    pup.run()
  File "/usr/sbin/pup", line 499, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 324, in doRefresh
    self.populateUpdates()
  File "/usr/sbin/pup", line 380, in populateUpdates
    self.updateMetadata.add(repo)
  File "/usr/lib/python2.4/site-packages/yum/update_md.py", line 228, in add
    md = obj.retrieveMD(mdtype)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 622, in retrieveMD
    cache=self.http_caching == 'all')
  File "/usr/lib/yum-plugins/rhnplugin.py", line 222, in _YumRepository__get
    raise yum.Errors.RepoError, \
RepoError: failed to retrieve repodata/updateinfo.xml.gz from rhel-x86_64-client-workstation-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: None
self: rhel-x86_64-client-workstation-5
cache: False
reget: None
relative: repodata/updateinfo.xml.gz
start: None
checkfunc: (<bound method RhnRepo.checkMD of <rhnplugin.RhnRepo object at 0x1ba9df50>>, ('updateinfo',), {})
copy_local: 1
end: None
local: //var/cache/yum/rhel-x86_64-client-workstation-5/updateinfo.xml.gz

Comment 1 Phil Knirsch 2008-09-26 15:38:58 UTC
Reassigning to package update component yum.

Thanks,

Regards, Phil

Comment 2 James Antill 2008-09-26 15:53:01 UTC
RepoError: failed to retrieve repodata/updateinfo.xml.gz from
rhel-x86_64-client-workstation-5
error was [Errno -1] Metadata file does not match checksum

 This means exactly what it says: RHN is giving out bad MD.

Comment 7 Sebastian Skracic 2010-12-21 14:40:16 UTC
The way the repodata are being generated now significantly diminishes the possibility of the dreaded "Metadata file does not match checksum" error message.  Please feel free to reopen if you still experience the same problem, assuming you have freshly downloaded the repodata after 'yum clean all' has been run.


Note You need to log in before you can comment on or make changes to this bug.