Save everybody some surprises in Fedora 22!

Stephen Morris samorris at netspace.net.au
Tue Jun 17 21:12:01 UTC 2014


On 06/17/2014 06:40 PM, Bob Goodwin - Zuni, Virginia, USA 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.
>
>
> Yes, [root at box10 bobg]# dnf clean expire-cache
>
> Yields the same update list this morning, only two items in this case.
>
> But it seems to eat up any time saved by running dnf instead of yum.
>
> Bob
>
All that command is doing is making the next dnf process refetch all its 
repository metadata which commands "dnf clean dbcache" and "dnf clean 
metadata" and "dnf clean all" will do, as well as sometimes "dnf 
check-update" re-downloads all the repository metadata.
It has also been suggested that just changing the dnf config to make the 
time between downloads the same as what yum uses would rectify the 
issue, but that would mean that dnf would have to have a service 
continually running to refresh the cache like yum does. Does dnf have 
such a service?

regards,
Steve


-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 130 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140618/ce4c852d/attachment.vcf>


More information about the users mailing list