Bug 627355

Summary: Crash on importing signatures in yum backend
Product: [Fedora] Fedora Reporter: lb <lb.pirat>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: brentrbrian, jonathan, rhughes, sangu.fedora, 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: 2010-09-06 08:03:58 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
yum error message after rpmfusion update attempted none

Description lb 2010-08-25 19:28:37 UTC
Description of problem:
After installing the rpm package for the rpmfusion repo, i got an update shown by packagekit, about the repo configuration.
Installing the updates failed, because the signing key could not be imported by packagekit. Packagekit showed a errormessage dialog with traceback ( added at the end).
This happend nearly 5 times.

Solution:
updated / imported key via terminal

yum update

Version-Release number of selected component (if applicable):
Name        : PackageKit
Arch        : i686
Version     : 0.6.6
Release     : 1.fc13


How reproducible:
not sure. just testet on 1 machine.

Steps to Reproduce:
1. install repo rpm via:
 rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
2.
try updating with the packagekit frontend
3. aborting update process after authorizing the import key via root password 
  
Actual results:
Errormessage Shown

Expected results:
importing key and updating the package

Additional info:
Error message shown was:

failed to install signature: Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2926, in install_signature
    self.yumbase.getKeyForPackage(pkg, askcb = lambda x, y, z: True)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4329, in getKeyForPackage
    result = ts.pgpImportPubkey(misc.procgpgkey(info['raw_key']))
  File "/usr/lib/python2.6/site-packages/rpmUtils/transaction.py", line 59, in __getattr__
    return self.getMethod(attr)
  File "/usr/lib/python2.6/site-packages/rpmUtils/transaction.py", line 69, in getMethod
    return getattr(self.ts, method)
AttributeError: 'NoneType' object has no attribute 'pgpImportPubkey'

Comment 1 Brent R Brian 2010-09-03 17:19:41 UTC
Created attachment 442939 [details]
yum error message after rpmfusion update attempted

Comment 2 Brent R Brian 2010-09-03 17:21:11 UTC
update successful from command line

yum -y update

Comment 3 Richard Hughes 2010-09-06 08:03:58 UTC

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