Bug 503098

Summary: kpackagekit doesn't work with yum-presto
Product: [Fedora] Fedora Reporter: Mary Ellen Foster <mefoster>
Component: kpackagekitAssignee: Steven M. Parrish <smparrish>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: balajig81, kevin, ltinkl, rdieter, smparrish
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: 2009-05-28 21:17:12 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 Mary Ellen Foster 2009-05-28 20:25:36 UTC
Description of problem:
I use kpackagekit and I have yum-presto installed, and they don't seem to be compatible. I think that all of the deltarpms get downloaded, but then kpackagekit crashes with the following backtrace (sorry for the big blob):

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1830, in _runYumTransaction rpmDisplay=rpmDisplay)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3653, in processTransaction pkgs = self._downloadPackages(callback)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3677, in _downloadPackages probs = self.downloadPkgs(dlpkgs)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1317, in downloadPkgs self.plugins.run('predownload', pkglist=pkglist)
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 180, in run func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/presto.py", line 577, in predownload_hook (problems, more) = downloadPkgs(conduit, pinfo, download_pkgs)
File "/usr/lib/yum-plugins/presto.py", line 419, in downloadPkgs cb.start(text="", size=rebuild_size)
File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 129, in start self._do_start(now)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2551, in _do_start self.updateProgress(name, 0.0, "", "")
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2593, in updateProgress pkg = self._getPackage(name)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2534, in _getPackage sections = name.rsplit('-', 2) AttributeError: 'NoneType' object has no attribute 'rsplit' 

I *think* (although I can't guarantee) that this used to work until the most recent yum update ...

Version-Release number of selected component (if applicable):
kpackagekit-0.4.0-7.fc11.x86_64
yum-presto-0.5.0-1.fc11.noarch


How reproducible:
Every time

Steps to Reproduce:
1. Do an update for which drpms are available
  
Actual results:
drpms get downloaded, and then kpackagekit crashes

Comment 1 Rex Dieter 2009-05-28 21:17:12 UTC
PackageKit bug.

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