[packagekit] yum2 search detail problem

Richard Hughes hughsient at gmail.com
Thu Feb 21 11:08:15 PST 2008


On Thu, 2008-02-21 at 11:23 +0100, Tim Lauridsen wrote:
> Richard Hughes wrote:
> > On Thu, 2008-02-21 at 07:27 +0100, Tim Lauridsen wrote:
> >> I aware of this one, the problem happening inside yum, so it may need
> >> an upstream fix. I will try to figure something out
> > 
> > Cheers dude.
> > 
> > Richard.
> > 
> > 
> > _______________________________________________
> > PackageKit mailing list
> > PackageKit at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/packagekit
> 
> Ok, have fixed it, it need a fix in upstream yum, so i have made a 
> temporary fix inside the yum2 backend, until the fix is released upstream.

Oooh. I get this now:

[hughsie at hughsie-laptop PackageKit]$ pkcon search name power
Error: internal-error : Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 655, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/libexec/yumDBUSBackend.py", line 367, in SearchName
    successful = self._do_search(searchlist, filters, search)
  File "/usr/libexec/yumDBUSBackend.py", line 1013, in _do_search
    for (pkg,values) in res:
  File "/usr/libexec/yumDBUSBackend.py", line 1727, in searchGenerator
    tmpres.extend(sack.searchPrimaryFieldsMultipleStrings(sql_fields, real_crit))
AttributeError: 'YumSqlitePackageSack' object has no attribute 'searchPrimaryFieldsMultipleStrings'

Richard.





More information about the PackageKit mailing list