dnf - Fedora 25 - Failed to synchronize cache for repo 'updates'
dnf upgrade
and dnf install --verbose
fail after use of dnf clean all
with the error Error: Failed to synchronize cache for repo 'updates'
.
I'm using the default dnf configuration. No proxies or anything, at least as far as I can tell from other answers to similar questions on this site. I did not change any aspect of the configuration, at least not explicitly.
/etc/dnf/dnf.conf
contains.
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
--verbose
prints a series of checksum failures. I honestly don't know where to go from here. What are my next steps with this information?
cachedir: /var/cache/dnf
Loaded plugins: config-manager, Query, debuginfo-install, reposync, noroot, protected_packages, builddep, needs-restarting, generate_completion_cache, download, playground, copr
DNF version: 1.1.10
repo: using cache for: bumblebee
not found deltainfo for: bumblebee for fedora Linux 25 - x86_64 - Base
not found updateinfo for: bumblebee for fedora Linux 25 - x86_64 - Base
repo: using cache for: docker-ce-stable
not found deltainfo for: Docker CE Stable - x86_64
not found updateinfo for: Docker CE Stable - x86_64
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://mirrors.rit.edu/fedora/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: 7ee405e76321538fc2cc786169289f52106b85bc48a770854838d76dff2af5fb9f65ae6a48a81678bd94ab41bc69d2cb8ebe7ba45a524a82039fc2438754e31f(sha512) 7ee405e76321538fc2cc786169289f52106b85bc48a770854838d76dff2af5fb9f65ae6a48a81678bd94ab41bc69d2cb8ebe7ba45a524a82039fc2438754e31f(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://mirror.sjc02.svwh.net/fedora/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://mirror.math.princeton.edu/pub/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://fedora.osuosl.org/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://download-ib01.fedoraproject.org/pub/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (https://download-ib01.fedoraproject.org/pub/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://fedora.mirror.constant.com/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) d867df9d6fdc0a94c93275e17b3f26bf1d7b0fcf0a5de5f0c1421d5fb6d47d8c8319df1308b43ad44ad3a0fa1428685cfa64f107b3de282916e714c08ab23964(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (https://fedora.mirror.constant.com/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: 05672c56b9f5c838622e800ea788e53b0b3bd203a6b38666b06c55fcd0c16de002875cf9ad331e59cb12a4562a8b601e1255e9d44dddcdb4a20287d9fb28e382(sha512) 05672c56b9f5c838622e800ea788e53b0b3bd203a6b38666b06c55fcd0c16de002875cf9ad331e59cb12a4562a8b601e1255e9d44dddcdb4a20287d9fb28e382(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://repo.atlantic.net/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: 05672c56b9f5c838622e800ea788e53b0b3bd203a6b38666b06c55fcd0c16de002875cf9ad331e59cb12a4562a8b601e1255e9d44dddcdb4a20287d9fb28e382(sha512) 05672c56b9f5c838622e800ea788e53b0b3bd203a6b38666b06c55fcd0c16de002875cf9ad331e59cb12a4562a8b601e1255e9d44dddcdb4a20287d9fb28e382(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (https://mirrors.xmission.com/fedora/linux/updates/25/x86_64/repodata/repomd.xml).
error: Downloading successful, but checksum doesn't match. Calculated: 05672c56b9f5c838622e800ea788e53b0b3bd203a6b38666b06c55fcd0c16de002875cf9ad331e59cb12a4562a8b601e1255e9d44dddcdb4a20287d9fb28e382(sha512) 05672c56b9f5c838622e800ea788e53b0b3bd203a6b38666b06c55fcd0c16de002875cf9ad331e59cb12a4562a8b601e1255e9d44dddcdb4a20287d9fb28e382(sha512) Expected: 8aabf1b6be1c694e982d1c9a10d95108724b21908fe6f2ea80220c51cf543ad90649c41ff6950643a1d1441e79a3402b9e7bf5acd490a55b83a7f7c5501631c6(sha512) c286f5ba08824100049b5584564b677e8aadcae3b4dab10f8ecbafe89028913e9f7a8ee794ce09052b74bf2bc921139c9d1bdaff6503051fe7a629d68bc10297(sha512) (http://mirrors.xmission ...
I'm having the exact same issue right now. Glad to know I'm not the only one
I'm having this issue currently. I assume the Fedora 27 update repos might be having the same issue now.
I have got same problem, but I solved it with DNS server : 8.8.8.8
Then it's likely your provider's DNS server was doing something different.