DNF: why does it refresh metadata all the time

Tim Lauridsen tim.lauridsen at gmail.com
Fri Jun 20 12:04:52 UTC 2014


On Thu, Jun 19, 2014 at 8:47 PM, Dennis Gilmore <dennis at ausil.us> wrote:

> In testing dnf on rawhide I nearly always do "dnf clean metadata && dnf
> update" purely because I found most of the time dnfs metadata was out of
> date. To me dnf fetching the metadata behind the scenes just doesn't work
> right. But I'm not sure that me or rawhide fits into the experience dnf is
> trying to give.
>
> Dennis
>

Dnf-0.5.2 has a --refresh option, there will a check if the repo metadata
is newer than the cached one.

so.

dnf update --refresh will check and update metadata if needed.

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


More information about the devel mailing list