the update repo is missing the metadata_expire setting. This is very important for package managers so they know when the time is right to refresh the cache. However it shouldn't be too short so infra and users' bandwidth is not being wasted. Currently, the default value that Yum uses in this case is 6 hours, which means very frequent checking, while DNF uses 48 hours which in some cases means some of the .rpm packges are gone when their download is attempted.
Same problem with fedora-rawhide.repo.
dnf should use the same default as yum
regardless of that in fedora 21 all the repo files have metadata_expire set
(In reply to Dennis Gilmore from comment #3)
> regardless of that in fedora 21 all the repo files have metadata_expire set
Dennis, let's just please keep it open until the new f21 and rawhide release packages are built.
Fine by me if this is considered an RFE and not a bug, but the default was changed in DNF after careful evaluation of other existing repositories which do not change as frequently as Fedoras. Most of them don't have metalinks set up and so redownloading the same metadata all the time wastes people's bandwidth.
Or at least please do the change in https://git.fedorahosted.org/cgit/fedora-repos.git/tree/fedora-updates.repo or wherever the upstream .repo files are held now so this can be CLOSED UPSTREAM.
Ales, its already upstream and has been for awhile.look at any fedora 21 system and you will see.
Sorry, you're right, just checked in on a recent rawhide VM.