Bug 627355 - Crash on importing signatures in yum backend
Summary: Crash on importing signatures in yum backend
Keywords:
Status: CLOSED DUPLICATE of bug 622179
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-25 19:28 UTC by lb
Modified: 2010-09-06 08:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-06 08:03:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
yum error message after rpmfusion update attempted (190.10 KB, image/png)
2010-09-03 17:19 UTC, Brent R Brian
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.