dnf keepcache

Michael Schwendt mschwendt at gmail.com
Sun Nov 15 21:43:25 UTC 2015


On Sun, 15 Nov 2015 12:55:16 -0500, Jon LaBadie wrote:

> > On Sun, 15 Nov 2015 12:08:54 +0100, Maurizio Marini wrote:
> > 
> > 
> > $ man dnf.conf
> > 
> >   keepcache
> >      boolean
> >
> >      Keep downloaded packages in the cache. If set to False and pack‐
>                                                        ^^^^^^^
> >      ages have not been installed they will still persist until  next
> >      successful transaction. The default is False.
> > 
> 
> Is this an error in the man page or, more likely,
> is my understanding of keepcache faulty?
> 
> Perhaps "True" means `all' downloaded packages remain
> in cache but if "False", only uninstalled ones are kept.

It means that even for the keepcache=0 default, downloaded packages
remain in the cache until they have been installed successfully. Then
the cache will be emptied.

With keepcache=1 nothing is removed from the cache ever.


More information about the users mailing list