On 20 April 2016 at 17:37, Tom H <tomh0665@gmail.com> wrote:
On Wed, Apr 20, 2016 at 6:07 PM, Samuel Sieb <samuel@sieb.net> wrote:
> On 04/20/2016 09:03 AM, Tom H wrote:
>>
>> "apt-get update" is the same as "yum|dnf makecache" but with yum|dnf
>> you have to remember to use "yum|dnf -C update" (given dnf's new
>> cache behavior, it seems to work from cache without "-C").
>
> The -C option to both yum and dnf means to only use the cache. If you
> want to force it to not use the cache, then you need to add the
> --refresh option to dnf.

Sure. But the point of my previous email was that if you run
"makecache", you then want to run with "-C" in order not to refresh
the cache that you've just updated.


No you don't? Unless you're running with almost (or none) no expiry time then it won't have expired so it won't renew it and will happily use the recently created cache.