Bug 104614

Summary: up2date agent: corrupt RPMs not being handled correctly.
Product: [Retired] Red Hat Linux Reporter: Todd Warner <taw>
Component: distributionAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-02 21:00:13 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:

Description Todd Warner 2003-09-17 21:29:15 UTC
up2date-3.0.7.2-1 (RHL 8.0)

I did this:
o rpm -e alchemist-devel
o up2date -d alchemist-devel
o edit rpm and nuke the first X lines
o up2date -u alchemist-devel

[taw@trixie up2date]$ sudo up2date -u

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################

Fetching rpm headers...
None of the packages you requested were found, or they are already
updated.
[taw@trixie up2date]$ sudo up2date alchemist-devel

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################

Fetching rpm headers...

Testing package set / solving RPM inter-dependencies...
########################################
alchemist-devel-1.0.24-4.i3 ########################## Done.
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 801, in ?
    main()
  File "/usr/sbin/up2date", line 573, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 737, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 71, in run
    self.__getPackages()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 122, in
__getPackages
    self.__checkPackage( pkg)
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 179, in
__checkPackage
    res = up2date.hasBadSignature(pkg)
  File "/usr/share/rhn/up2date_client/up2date.py", line 373, in
hasBadSignature
    if hdr['SIGGPG'] == None:
TypeError: unsubscriptable object