Ask Your Question
0

dnf - Fedora 25 - Failed to synchronize cache for repo 'updates'

asked 2017-06-21 14:02:01 -0500

zyrolasting gravatar image

updated 2017-06-21 14:03:39 -0500

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 ...
(more)
edit retag flag offensive close merge delete

Comments

I'm having the exact same issue right now. Glad to know I'm not the only one

doctorag0n gravatar imagedoctorag0n ( 2017-06-21 14:05:14 -0500 )edit

I'm having this issue currently. I assume the Fedora 27 update repos might be having the same issue now.

zymhan gravatar imagezymhan ( 2017-11-18 11:26:29 -0500 )edit

I have got same problem, but I solved it with DNS server : 8.8.8.8

mmilencki gravatar imagemmilencki ( 2017-11-19 10:49:24 -0500 )edit

Then it's likely your provider's DNS server was doing something different.

florian gravatar imageflorian ( 2017-11-20 12:53:44 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2017-06-21 14:30:06 -0500

florian gravatar image

There was a problem with the repositories. Try again: dnf --refresh upgrade.

edit flag offensive delete link more

Comments

The result remains the same. Output from your command yields:

bumblebee for fedora Linux 25 - x86_64 - Base                   70 kB/s | 9.6 kB     00:00    
Docker CE Stable - x86_64                                      2.8 kB/s | 3.4 kB     00:01    
bumblebee nonfree for fedora Linux 25 - x86_64 - Base           68 kB/s | 7.3 kB     00:00    
Error: Failed to synchronize cache for repo 'updates'
zyrolasting gravatar imagezyrolasting ( 2017-06-21 15:11:49 -0500 )edit

Give the update repo a few hours to get back in shape, and then try again.

florian gravatar imageflorian ( 2017-06-21 21:26:10 -0500 )edit
0

answered 2017-11-19 10:48:01 -0500

I'm having the same problem at this moment. This was solved by adding 8.8.8.8 as DNS server. In the file /etc/resolv.conf :

nameserver 8.8.8.8

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-06-21 14:02:01 -0500

Seen: 15,325 times

Last updated: Nov 19 '17