[packagekit] Creating cache the first time

Richard Hughes hughsient at gmail.com
Fri Oct 12 09:34:43 PDT 2007


On Fri, 2007-10-12 at 11:51 -0400, Ken VanDine wrote:
> Does refresh-cache only run when the system is idle?

If the network is up and we are on AC power then yes, we refresh the
cache on idle.

> It makes sense
> that it would... but I found an issue with that.  If the cache doesn't
> exist, it should run on boot.

Shouldn't the tool (e.g. Install) do a cache create if it's not there?
What circumstance do you mean?

>   Perhaps look for a refresh-cache
> transaction, and if there is no previous refreshes force one on
> startup.

Ick, sounds non-clean. Can you give me an example pls. Thanks.

Richard.





More information about the PackageKit mailing list