[packagekit] gpk-install-package-name failing in Fedora 14

rotru at br.ibm.com rotru at br.ibm.com
Mon Nov 22 11:58:26 PST 2010


On 22 November 2010 19:15,  <rotru at br.ibm.com> wrote:
>> Traceback (most recent call last):
>>   File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2200, in
>> _runYumTransaction
>>     rc, msgs = self.yumbase.buildTransaction()
>>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 926, in
>> buildTransaction
>>     kern_pkgtup = misc.get_running_kernel_pkgtup(self.rpmdb.ts)
>>   File "/usr/lib/python2.7/site-packages/yum/misc.py", line 735, in
>> get_running_kernel_pkgtup
>>     mi = ts.dbMatch('basenames', fn)
>>   File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 
59,
>> in __getattr__
>>     return self.getMethod(attr)
>>   File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 
69,
>> in getMethod
>>     return getattr(self.ts, method)
>> AttributeError: 'NoneType' object has no attribute 'dbMatch'

> 
> Looks like a yum error - you probably want to file this for the
> component yum in bugzilla.
>
> Richard.


I could reproduce this same error in  Software Updates (gpk-update-viewer)

I had an update for selinux-policy (it is showed alone in the Software 
Updates, like package yum). When I tried to update, 
got the error. Seems it is related to the dependecies that need to be 
updated together (in this case selinux-policy-targeted).


I updated only the 'selinux-policy-targeted' manually and then tried to 
update selinux-policy in the ' Software Updates'. At this
time everything ran well.

To reproduce, just downgrade both packages, wait Pkit refresh and try 
update using Software Updates.


Regards

Rodrigo Trujillo




From:
Richard Hughes <hughsient at gmail.com>
To:
PackageKit users and developers list <packagekit at lists.freedesktop.org>
Date:
11/22/2010 05:22 PM
Subject:
Re: [packagekit] gpk-install-package-name failing in Fedora 14
Sent by:
packagekit-bounces+rotru=br.ibm.com at lists.freedesktop.org



On 22 November 2010 19:15,  <rotru at br.ibm.com> wrote:
> Traceback (most recent call last):
>   File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2200, in
> _runYumTransaction
>     rc, msgs = self.yumbase.buildTransaction()
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 926, in
> buildTransaction
>     kern_pkgtup = misc.get_running_kernel_pkgtup(self.rpmdb.ts)
>   File "/usr/lib/python2.7/site-packages/yum/misc.py", line 735, in
> get_running_kernel_pkgtup
>     mi = ts.dbMatch('basenames', fn)
>   File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 
59,
> in __getattr__
>     return self.getMethod(attr)
>   File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 
69,
> in getMethod
>     return getattr(self.ts, method)
> AttributeError: 'NoneType' object has no attribute 'dbMatch'

Looks like a yum error - you probably want to file this for the
component yum in bugzilla.

Richard.
_______________________________________________
PackageKit mailing list
PackageKit at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20101122/f79439f9/attachment-0004.htm>


More information about the PackageKit mailing list