[packagekit] pkcon get updates crash

Tim Lauridsen tim.lauridsen at googlemail.com
Wed Jan 9 06:33:33 PST 2008


James Bowes wrote:
> Hey Matej:
> 
> On Jan 9, 2008 3:48 AM, Matej Cepl <mcepl at redhat.com> wrote:
>> Is this known (from the today's git on x86_64 Fedora/Rawhide)?
> 
> Looks like this might be a bug in the priorities plugin.
> 
> Any thoughts, Tim?
> 
> -James
> 
>> [matej at hubmaier rpm]$ pkcon get updates
>>     [..................................===.....................]
>> Error: internal-error : Error Type: <type
>> 'exceptions.AttributeError'>;Error Value: 'NoneType' object has
>> no attribute 'samearch';  File
>> : /usr/share/PackageKit/helpers/yum/get-updates.py , line 17, in
>> <module>;    backend.get_updates();  File
>> : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1011, in
>> get_updates;    ygl
>> = self.yumbase.doPackageLists(pkgnarrow='updates');  File
>> : /usr/lib/python2.5/site-packages/yum/__init__.py , line 1149,
>> in doPackageLists;    for (n,a,e,v,r) in
>> self.up.getUpdatesList():;  File
>> : /usr/lib/python2.5/site-packages/yum/__init__.py , line 542, in
>> <lambda>;    up = property(fget=lambda self: self._getUpdates(),;
>> File : /usr/lib/python2.5/site-packages/yum/__init__.py , line
>> 436, in _getUpdates;    sack_pkglist
>> = self.pkgSack.simplePkgList();  File
>> : /usr/lib/python2.5/site-packages/yum/__init__.py , line 529, in
>> <lambda>;    pkgSack = property(fget=lambda self:
>> self._getSacks(),;  File
>> : /usr/lib/python2.5/site-packages/yum/__init__.py , line 396, in
>> _getSacks;    self.plugins.run('exclude'); get-updates runtime
>> was 3.7 seconds
>> [matej at hubmaier rpm]$
>>
>> Matěj
>>
>> _______________________________________________
>> PackageKit mailing list
>> PackageKit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/packagekit
>>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
Matěj,

Try to disable the priorities plugin in 
/etc/yum/pluginconf.d/priorities.conf and try again, to to see if is the 
plugin causing problems,

Tim




More information about the PackageKit mailing list