[packagekit] Creating cache the first time
hughsient at gmail.com
Fri Oct 12 10:06:20 PDT 2007
On Fri, 2007-10-12 at 12:59 -0400, Ken VanDine wrote:
> Here is the flow, user installs PK and reboots. Opens up
> pk-application and tries to do a search, gets no results. He waits...
> 2 hours later he tries again, nothing... But he has been activily
> using his computer. I told him to run pkcon force-refresh and all is
> happy again. It is really only an issue for users that have never
> populated the cache... and only until the system goes idle long enough
> for it to kick in. Perhaps we need a method to determine if there is
> a cache, and if there isn't pk-application refreshes?
No, this is a backend thing. If we do a search and there is no cache
then we should trigger it there, and just use the status callback to
indicate in the UI that it might take some time... Not all backends need
to refresh a cache, and some can't even do that.
More information about the PackageKit