Bug 683943

Summary: yumdownloader tracebacks all the time
Product: Red Hat Enterprise Linux 5 Reporter: James Antill <james.antill>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-14 18:54:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Antill 2011-03-10 18:12:34 UTC
Description of problem:
There is a missing:

from yum.packages import parsePackages

...so whenever yumdownloader gets to:

    def downloadPackages(self,opts):
        
        toDownload = []
    
        packages = self.cmds
        for pkg in packages:
            toActOn = []
            exactmatch, matched, unmatched = parsePackages(self.pkgSack.returnPackages(), [pkg])

...it tracebacks.

Version-Release number of selected component (if applicable):
yum-utils-1.1.16-14.el5

Comment 1 James Antill 2011-03-14 18:54:45 UTC
Sorry, this was a stupido on my part. The problem only occurs if you are testing the rawhide version of yum on RHEL-5 ... and I fixed it in upstream yum, so nothing to worry about for yum-utils in RHEL-5 :)