Bug 219077

Summary: "yum install" and "yumdownloader --source" fail
Product: [Fedora] Fedora Reporter: Roozbeh Pournader <roozbeh>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
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: 2006-12-11 05:48:10 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
patch to fix the problem in yum none

Description Roozbeh Pournader 2006-12-10 15:05:27 UTC
Description of problem:
yumdownloader --source crashes on rawhide.

Version-Release number of selected component (if applicable):
yum-utils-1.0.1-1.fc7

How reproducible:
Always

Steps to Reproduce:
1. yumdownloader --source gtk2
  
Actual results:
Traceback (most recent call last):
  File "/usr/bin/yumdownloader", line 191, in <module>
    main()
  File "/usr/bin/yumdownloader", line 129, in main
    name = newpkg.returnSimple('sourcerpm').rsplit('-',2)[0]
  File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 66, in
returnSimple
    (self.pkgID,))
AttributeError: YumAvailablePackageSqlite instance has no attribute 'pkgID'

Comment 1 Roozbeh Pournader 2006-12-10 16:49:39 UTC
Created attachment 143246 [details]
patch to fix the problem in yum

Ah, this is a yum problem, not a yum-utils one, and also makes "yum install"
stop working. Attaching a patch that fixes both.

Comment 2 Seth Vidal 2006-12-11 05:48:10 UTC

*** This bug has been marked as a duplicate of 219029 ***