Save everybody some surprises in Fedora 22!

Paul Knox-Kennedy Paul.Knox-Kennedy at telsis.com
Mon Jun 16 13:23:40 UTC 2014


 

> 
> On 06/16/14 04:42, Ed Greshko wrote:
> > On 06/16/14 16:37, Bob Goodwin - Zuni, Virginia, USA wrote:
> >> > So there is still a considerable difference in what each of them 
> >> > does here,
> > I ran into this the other day.  It would seem the way dnf 
> handles caching is different from yum.  Not 100% 
> sure/convinced this "fixed" my problem....but after running 
> "dnf clean expire-cache" it then reported the same thing as yum.
> 
> 
> I will try that next time, thanks.
> 
> Bob
> 

Dnf defaults to 48h metadata expiry. Yum default is much shorter (I 
found a reference saying it is 1.5h, but don't know if this is still 
true).

You can set metadata_expire in /etc/dnf/dnf.conf - I dropped it to 6h.



NOTICE & DISCLAIMER 
This email including attachments (this "Document") is confidential and may contain legally privileged information.  If you have received this Document in error please notify the sender immediately and delete this Document from your system without using, copying, disclosing or disseminating it or placing any reliance upon its contents.  We cannot accept liability for any breaches of confidence arising through use of this Document.

The information contained in this Document is provided solely for information purposes on an "as is" basis without warranty of any kind, either express or implied, including without limitation any implied warranty of satisfactory or merchantable quality, fitness for a particular purpose or freedom from error or infringement.  The user relies on the information contained herein, and its accuracy or otherwise, entirely at their own risk.

Any opinions expressed in this Document are those of the author and do not necessarily reflect the opinions of Telsis.  We will not accept responsibility for any commitments made by our employees, agents or representatives outside the scope of our business.






More information about the users mailing list