[packagekit] Can't install local files with yum backend

Trever Fischer wm161 at wm161.net
Sat Jan 10 15:31:07 PST 2009


I'm trying to install cedega-000133-1.i386 from the downloaded RPM file, but 
the yum backend thinks it can't. Here's the python backtrace:

Traceback (most recent call last):                                                       
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1398, in 
_checkForNewer                                      
    pkgs = self.yumbase.pkgSack.returnNewestByName(name=po.name)                                                            
  File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 399, in 
returnNewestByName                               
    raise PackageSackError, 'No Package Matching $s' $ ui_pats                                                              
PackageSackError: No Package Matching cedega

My guess is that it tries to search the repositories for a more recent version 
of cedega. Since cedega isn't listed in any repo, it fails. I've attached a 
patch that fixes this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pk-yum.diff
Type: text/x-patch
Size: 844 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20090110/1179fd53/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20090110/1179fd53/attachment-0004.pgp>


More information about the PackageKit mailing list