Red Hat Bugzilla – Bug 1262848
dnf fails to update/install packages with "Error: Failed to synchronize cache for repo 'updates' from" error.
Last modified: 2016-07-19 15:18:28 EDT
Description of problem:
DNF fails with cache error while installing/upgrading any package.
Version-Release number of selected component (if applicable):
Any installation/upgradation of packages.
Steps to Reproduce:
1.sudo dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate
Packages should be installed.
Ran the test to check and verify the metadata links. Found no issue confirming that the issue is due to a bug in the dnf.
The result of the tool is @http://paste.fedoraproject.org/266922/44223229/
And the tool can be found @https://github.com/puiterwijk/check_metalink
Hi, can you post whole output of these commands, please? We don;t know which command failed and whether it's error in dnf or yum.
I've been hitting this issue for over a month now, on both F23 and the latest F24 beta.
$ sudo dnf update -vvvv
Loaded plugins: debuginfo-install, protected_packages, config-manager, generate_completion_cache, download, needs-restarting, builddep, noroot, langpacks, Query, copr, reposync, playground
langpacks: No languages are enabled
Error reading file : /var/lib/dnf/plugins/langpacks/installed_langpacks as it does not exist
initialized Langpacks plugin
DNF version: 1.1.8
Cannot download 'http://download.fedoraproject.org/pub/fedora/linux/updates/testing/24/x86_64/': Yum repo downloading error: Downloading error(s): repodata/854ba80e85d2f5d09d9a137a8d4fcc52b38fb81cfab18fc0d30c36dddce11493-prestodelta.xml.xz - Cannot download, all mirrors were already tried without success.
Error: Failed to synchronize cache for repo 'updates-testing'
Created attachment 1168164 [details]
Trying to update the system via DNF (fail)
Created attachment 1168165 [details]
Trying to update the system via YUM-deprecated (OK)
I added two attachments with output from dnf and yum-deprecated.
It seems not to be an issue with the network connection as yum can successfully download meta info and packages. dnf can't even download the meta info.
I ran first dnf and directly afterwards yum-deprecated.
*** Bug 1348992 has been marked as a duplicate of this bug. ***
thank you for put focus on this issue. Did you see that bug #1348992 was the same content but for Fedora Release 23?
*** Bug 1350243 has been marked as a duplicate of this bug. ***
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.