DNF: why does it refresh metadata all the time

Tim Lauridsen tim.lauridsen at gmail.com
Sat Jun 21 16:02:39 UTC 2014


On Fri, Jun 20, 2014 at 4:01 PM, Zdenek Kabelac <zkabelac at redhat.com> wrote:

> Also for years Debian supplies short update 'diffs' - so user doesn't have
> to download multiple MB sized files - just couple short small files - again
> something much nicer then running a daemon to download tens of MB on
> background daily...


dnf/yum don't download metadata if it is not changed, the download a small
repod.xml file with checksum and other stuff, metadata is only updated when
the metadata in cache don't
match the ones in the remoted repositories.

Updates are only push once a day, and have to sync out to the mirrors, so
there is no reason to check for metadata every 10 min og every time dnf is
run.
both yum/dnf has settings to control how often the remote repos is checked
for changes, so it can be configured by the user is they don't like tge
default setting.
delta metadata is on the wishlist for dnf, but it is hard to get it to work
in good way.

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140621/a0fa8d9d/attachment.html>


More information about the devel mailing list