Red Hat Bugzilla – Bug 1069538
DNF doesn't support "never" or "-1" for metadata_expire option unlike yum
Last modified: 2014-09-30 19:42:08 EDT
Description of problem:
I always create a repo file for Fedora DVD, and set its metadata_expire to -1 so that its metadata is never expired. "never" can be used instead of -1 too. However, dnf doesn't support -1/never and always tries to download the metadata for such a repository.
Version-Release number of selected component (if applicable):
Hello, the issue was fixed upstream in 4b27df0. The patch also includes update to 'metadata_expire' documentation. You can test the change once respective build appears on our continuous integration server:
or with dnf-0.4.17 once released.
Thanks for the report.
dnf-0.4.17-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.4.17-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-0.4.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.