Description of problem: Sometimes when I run "dnf update", it reports there's nothing to do, even though "yum update" can see some available updates. Using wireshark I checked that dnf did not try to communicate to the network. I guess it believes it has all the metadata up to date. This in itself may be reasonable behaviour if the metadata were updated not so long ago. When I know that this dnf's assumption is incorrect, I expect to be able to perform "dnf clean expire-cache" to ensure dnf will re-check the freshness of the metadata in a subsequent "dnf update" invocation. However, "dnf clean expire-cache" does not seem to have any effect. It always says "0 metadata files removed". "dnf update" still won't see any new updates afterwards. Version-Release number of selected component (if applicable): dnf-0.3.4-1.git03fd687.fc19.noarch librepo-0.0.4-1.fc19.x86_64 hawkey-0.3.11-1.gitffe0dac.fc19.x86_64 libsolv-0.3.0-3.git7399ad1.fc19.x86_64 How reproducible: 100% Steps to Reproduce: 1. dnf clean expire-cache Actual results: Cleaning repos: adobe-linux-x86_64 fedora rpmfusion-free rpmfusion-free-updates : rpmfusion-free-updates-testing updates updates-testing 0 metadata files removed Expected results: Some metadata files removed (the tiny ones, i.e. "metalinks?"). Additional information: "dnf clean metadata" works fine, but this is a more expensive operation, because it forces dnf to download all the big metadata files again, even though it previously had current versions of some of them. It says: Cleaning repos: rpmfusion-free-updates-testing updates-testing fedora : rpmfusion-free-updates adobe-linux-x86_64 rpmfusion-free updates 34 metadata files removed 15 dbcache files removed 0 metadata files removed
Hi, thanks for the report, I'll look into this.
Hm, this is because DNF in F19 no longer relies on the 'cachecookie' file existing for each repo. The information about forced expiry between sessions has to be stored in some other way.
Fixed by 20b776b, will be included in dnf-0.3.6.
hawkey-0.3.13-2.git15db39f.fc19, dnf-0.3.6-1.git24ce938.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dnf-0.3.6-1.git24ce938.fc19,hawkey-0.3.13-2.git15db39f.fc19
Package hawkey-0.3.13-2.git15db39f.fc19, dnf-0.3.6-1.git24ce938.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hawkey-0.3.13-2.git15db39f.fc19 dnf-0.3.6-1.git24ce938.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9385/dnf-0.3.6-1.git24ce938.fc19,hawkey-0.3.13-2.git15db39f.fc19 then log in and leave karma (feedback).
Package hawkey-0.3.13-2.git15db39f.fc19, dnf-0.3.7-1.gitf8bdc98.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hawkey-0.3.13-2.git15db39f.fc19 dnf-0.3.7-1.gitf8bdc98.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9385/hawkey-0.3.13-2.git15db39f.fc19,dnf-0.3.7-1.gitf8bdc98.fc19 then log in and leave karma (feedback).
It is working now (release 0.3.6-1) # dnf list | grep dnf dnf.noarch 0.3.6-1.git24ce938.fc19 @System # dnf clean expire-cache Vyčištění repozitářů:rpmfusion-nonfree-updates-testing : rpmfusion-free-updates-testing updates-testing fedora : rpmfusion-free-updates adobe-linux-x86_64 : rpmfusion-nonfree-updates rpmfusion-free updates : rpmfusion-nonfree The enabled repos were expired Thanks
hawkey-0.3.13-2.git15db39f.fc19, dnf-0.3.7-1.gitf8bdc98.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.