Created attachment 1644571 [details] a script that demonstrates the issue Description of problem: Even though I set `retries=15` and `skip_if_unavailable=False` for a repo, dnf seems to skip the repo after only 3 retries with no error given. Version-Release number of selected component (if applicable): dnf-4.2.17-1.fc31.noarch dnf-4.2.5-5.fc29.noarch How reproducible: 100% so far Steps to Reproduce: script attached
The retries option works only for downloading packages. The documentation is lacking here, I'll adjust it. I don't think we support setting the number of retries for repository metadata files.
PR: https://github.com/rpm-software-management/dnf/pull/1552
The documentation was updated. FTR if anyone would like us to implement adjusting the number of retries for repository metadata, I think it would be low on our priority list. The code for that is overly complex, so it wouldn't be trivial to implement and we have other priorities. The plan is to fix this part sometime in the future, when we can dedicate the time it's going to need.
dnf-4.2.18-1.fc30, dnf-plugins-core-4.0.13-1.fc30, libdnf-0.43.1-1.fc30, microdnf-3.4.0-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-66c974fdb6
dnf-4.2.18-1.fc31, dnf-plugins-core-4.0.13-1.fc31, libdnf-0.43.1-1.fc31, microdnf-3.4.0-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9542e3ccfd
dnf-4.2.18-1.fc31, dnf-plugins-core-4.0.13-1.fc31, libdnf-0.43.1-1.fc31, microdnf-3.4.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
dnf-4.2.18-1.fc30, dnf-plugins-core-4.0.13-1.fc30, libdnf-0.43.1-2.fc30, microdnf-3.4.0-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-66c974fdb6
dnf-4.2.18-1.fc30, dnf-plugins-core-4.0.13-1.fc30, libdnf-0.43.1-2.fc30, microdnf-3.4.0-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.