Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 454932

Summary: component: software updater raises unhandled exception
Product: Red Hat Enterprise Linux 5 Reporter: Naveen <nkumar>
Component: pirutAssignee: James Antill <james.antill>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: high Docs Contact:
Priority: low    
Version: 5.1CC: bkearney, nkumar
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-11 17:39:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
exception dump none

Description Naveen 2008-07-10 20:27:04 UTC
Description of problem:
We have installed RHE5.1 and trying to update the packages (it says 480 updates
when we login to redhat network). Did the below and got Exception and requested
to file a detailed bug report in bugzilla.

Applications->system tools->software updater
once after selecting it we get a message "Retreving..." and gets exception and
exception report is as below
Component: Software Updater
Summary: TBf3313d0f rhnplugin.py:222:_YumRepository__get:RepoError: failed to
retrieve repodata/updateinfo.xml.gz from rhel-x86_64-server-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-server-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-server-5
cache: False
reget: None
relative: repodata/updateinfo.xml.gz
start: None
checkfunc: (<bound method RhnRepo.checkMD of <rhnplugin.RhnRepo object at
0x2533cd0>>, ('updateinfo',), {})
copy_local: 1
end: None
local: //var/cache/yum/rhel-x86_64-server-5/updateinfo.xml.gz


Version-Release number of selected component (if applicable):
Redhat Enterprise Linux 5

How reproducible: easy

Steps to Reproduce:
Applications->system tools->software updater
once after selecting it we get a message "Retreving..." and gets exception
  
Actual results:
Need to grap the packages and update the kernel/os packages

Expected results:
getting unhandled exception

Additional info:

Comment 1 Naveen 2008-07-10 20:27:04 UTC
Created attachment 311513 [details]
exception dump

Comment 2 Naveen 2008-07-11 20:57:19 UTC
Hi All,
Greetings!

I got my packages updated. I used yum update instead of GUI "Software update"
tool and it works awsome.


Naveen