[packagekit] Cache clean

Richard Hughes hughsient at gmail.com
Fri Apr 18 03:35:57 PDT 2008


On Mon, 2008-04-14 at 20:40 +1000, David Timms wrote:
> Richard Hughes wrote:
> > On Sun, 2008-04-13 at 09:46 -0700, mirttex85-pk at yahoo.com.br wrote:
> >> why not schedule this regulary by packagekit as we have with the
> >> update lists of packages?
> > 
> > Can't we just nuke the downloaded cache when we do RefreshCache?
> Something to think about: {not sure of the terminology though}.
> 
> It might be worth moving the download cache aside, trying to refresh, 
> and if that fails to complete, then move the cache back, so that the 
> various commands can still run based on the most recently retrieved 
> complete info.

Yes, that seems sane. I'm not sure if yum could support that, but that
might be a valid thing to do for other backends.

Richard.




More information about the PackageKit mailing list