Bug 503870 (traceback)

Summary: Traceback while updating
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya>
Component: PackageKitAssignee: Richard Hughes <richard>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: lmacken, rhughes, richard, smparrish, tomek
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-06-07 12:10:43 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 Luya Tshimbalanga 2009-06-03 05:45:59 UTC
Description of problem:
Traceback happened with simple update

Version-Release number of selected component (if applicable):

2.27.2

How reproducible:


Steps to Reproduce:
1. Just do a normal update
2.
3.
  
Actual results:

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 3609, in processTransaction
    pkgs = self._downloadPackages(callback)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3633, in _downloadPackages
    probs = self.downloadPkgs(dlpkgs)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1313, 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="<delta rebuild>", 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'


Expected results:

PackageKit should update normally.

Additional info:

Comment 1 Richard Hughes 2009-06-03 07:52:35 UTC
What version PackageKit? Can you please try https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5750

Comment 2 Luya Tshimbalanga 2009-06-03 08:14:12 UTC
Version 0.4.6-8.fc11

Comment 3 Richard Hughes 2009-06-03 08:43:08 UTC
Can you try installing https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5750 and https://admin.fedoraproject.org/updates/F11/FEDORA-2009-5748 and then reboot please. If it fixes things, please report that as positive karma for the update. Thanks.

Comment 4 Luya Tshimbalanga 2009-06-05 21:05:49 UTC
FEDORA-2009-5750 update fixed the icon tray. FEDORA-2009-5750 works on Gnome desktop but, as pointed out, broke on kpackagekit. Since the bug concerns about update traceback, the issue is solved.