On Fri, 14 Aug 2015 11:59:48 +0100, Patrick O'Callaghan wrote:

> If the metadata is expired, why is it being checked for currency?

User tells the tool the metadata are expired. Whether that is true,
remains to be seen. They are still in the local cache, and the
mirroring system may tell that there are no different metadata. Then
there's no need to redownload them.

If the documentation is not accurate, and if --refresh removes the
cached metadata always, then the developers ought to make that clear.

       --refresh
              set metadata as expired before running the command

      dnf clean expire-cache
              Removes  local  cookie  files  saying when the metadata and mir‐
              rorlists were downloaded for each repo. DNF will re-validate the
              cache for each repo the next time it is used.

       dnf clean metadata
              Removes  repository metadata. Those are the files which DNF uses
              to determine the remote availability  of  packages.  Using  this
              option  will make DNF download all the metadata the next time it
              is run.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to