Description of problem:
PackageKit refuses to run with this error message:
Error Type: <type 'exceptions.TypeError'>
Error Value: refresh_cache() takes exactly 2 arguments (1 given)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3247, in <module>
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3243, in main
backend = PackageKitYumBackend('', lock=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 243, in __init__
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. wait for update check or run packagekit (I tried it with the gnome frontend) manually
The above mentioned error message appears.
PackageKit correctly checks for updates/starts.
It seems it started happening after I manually cleared the content of /var/cache...
I'm guessing this works in F13....?
(In reply to comment #1)
> I'm guessing this works in F13....?
Depends on version. With 0.6.3-1.fc13 I was able to reproduce it by:
1. delete /var/cache/PackageKit
But after updating to 0.6.6-1.fc13 this is no longer a problem and the cache gets correctly regenerated.
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Sorry, I don't use F12 anymore, but as I said above, it's fixed in 0.6.6-1.fc13 and in F14 it works as well.