On 06/16/2014 03:23 PM, Paul Knox-Kennedy wrote:
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.
/etc/dnf/dnf.conf [main] gpgcheck=1 installonly_limit=100 best=1 deltarpm=1 debuglevel=10 errorlevel=10 metadata_expire=0 metadata_timer_sync=0
Regardless, its output is still ugly compared to yum daisies. Long live the yum!
poma