[packagekit] invalidating of cache

Richard Hughes hughsient at gmail.com
Fri Nov 2 00:37:37 PDT 2007


On Wed, 2007-10-31 at 14:06 -0400, Ken VanDine wrote:
> Whoops... I was confused.  Not the updates cache, but the "cache"
> cache :) 

There is no cache cache in packagekitd - what I think you mean is "how
do you clear the search and package backend cache before you do
RefreshCache".

If that's the case, you can use the "force=TRUE" attribute of the
RefreshCache method if you really want to purge everything and start
again, or just use "force=FALSE" if you just want to update what's
needed.

> As in refresh-cache.  So what triggers that getting refreshed?
> Is it just scheduled?

RefreshCache is scheduled once a day (IIRC) from the applet, when the
user is idle, and the network is up. There's some FIXME's in that client
code, so I wouldn't be surprised if there were bugs.

Richard.





More information about the PackageKit mailing list