Description of problem: I have metadata_expire=never in both dnf.conf and yum.conf. Neither seems to have the desired effect. Under Fedora 22, the effect is that dnf can function much like apt: dnf makecache downloads data, dnf update updates it, dnf install downloads and install package all without bothering to touch metadata. Version-Release number of selected component (if applicable): dnf-1.1.4-1.fc23.noarch How reproducible: always Steps to Reproduce: 1. set metadata_expire=never 2. run dnf makecache 3. wait a day or two Actual results: dnf starts loading metadata (I'm guessing - it's showing progress bar) from all its sources. Expected results: dnf update uses cached metadata since it never expires Additional info: this is a regression: worked fine under Fedora 22.
*** This bug has been marked as a duplicate of bug 1293910 ***
I have try to reproduce and I have found, that in this case it is probably not a bug. I think that you have metadata_expire=some_number in .repo file that describe repository. If this option is present, it overwrites options in dnf.conf file. Please if this is not your case, feel free to reopen the bug report.