Fedora 41 - when using dnf get checksum doesn't match

Just installed Fedora 41 Workstation Beta, and trying to install gnome-tweaks, but when I run ANY dnf install command, i get below. Tried several different packages, but all give me a page full of the error, and it just keeps repeating.

Thus I can not use dnf command at all. Software app works fine, and I can install apps thru there just fine.

>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665c
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665c

All I’ve done so far is enable 3rd party repositories in setup, add a few accounts to fedora, and installed thunderbird with software app.

1 Like

tried dnf update, get same thing…

@fedora:~$ sudo dnf update
[sudo] password for tomporter: 
Updating and loading repositories:
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 163.6 KiB | -00m00s
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 163.6 KiB | -00m00s
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 169.4 KiB | -00m00s
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 169.4 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 169.4 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 175.2 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  18.3 KiB/s | 175.2 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  24.2 KiB/s | 175.2 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  24.2 KiB/s | 181.0 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  24.2 KiB/s | 186.8 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  24.2 KiB/s | 186.8 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                      97% |  24.2 KiB/s | 187.9 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  24.2 KiB/s | 192.7 KiB | -00m00s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab
 Fedora 41 - x86_64                     100% |  24.2 KiB/s | 192.7 KiB | -00m00s

Hm… interesting!

Can you check whether dnf is DNF 4 or DNF 5? (dnf --version.) Whichever it is, can you try the other one? (Which you may have to install through GNOME Software first.)

If dnf is still DNF 4, then DNF 5 should be installable as adnf5 command that otherwise works pretty much the same somewhat the same, although the command-line flags are different. #ForSomeReason!

You can also try running DNF 4 with the -v / --verbose flag (DNF 5 doesn’t have a -v flag, because why would it? :roll_eyes: ), to get a bit more info on what it’s trying and failing to do (repeatedly and consistently).

Another option would be to run a sudo dnf clean all, which will blow away any possibly-corrupted/invalid metadata and re-download everything, hopefully with the checksums properly in sync with the data this time?

It depends on a specific machine’s location, but certainly mirroring issue - tracked here: Issue #12183: f41 aarch64 and x86_64 mirrorlist/metalink issues - fedora-infrastructure - Pagure.io

2 Likes
tomporter@fedora:~$ dnf --version
dnf5 version 5.2.5.0
dnf5 plugin API version 2.0
libdnf5 version 5.2.5.0
libdnf5 plugin API version 2.0

Loaded dnf5 plugins:
  name: builddep
  version: 1.0.0
  API version: 2.0

  name: changelog
  version: 1.0.0
  API version: 2.0

  name: config-manager
  version: 0.1.0
  API version: 2.0

  name: copr
  version: 0.1.0
  API version: 2.0

  name: needs_restarting
  version: 1.0.0
  API version: 2.0

  name: repoclosure
  version: 1.0.0
  API version: 2.0

tomporter@fedora:~$ sudo dnf clean all
[sudo] password for tomporter: 
Removed 32 files, 22 directories. 0 errors occurred.
tomporter@fedora:~$ sudo dnf update
Updating and loading repositories:
 RPM Fusion for Fedora 41 - Nonfree - NVIDIA Driver                                                      100% |  21.1 KiB/s |  15.6 KiB |  00m01s
 Fedora 41 - x86_64 - Updates                                                                            100% |  49.3 KiB/s |  31.9 KiB |  00m01s
 Fedora 41 - x86_64                                                                                      100% |  24.5 KiB/s | 147.9 KiB |  00m06s
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: 48ea7729665cea44a1e7755055eadc30f46cd23ddf4a75d6352374f8be021dd801f610bcfa732
>>> Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.lstn.net/fedora/development/41/Everything/x86_64/os/rep
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: a5e4645170def1f183d551af44ffed03824da78a6312ef4b14af4398f98d9cf227c784b169a0b
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: a5e4645170def1f183d551af44ffed03824da78a6312ef4b14af4398f98d9cf227c784b169a0b
>>> Downloading successful, but checksum doesn't match. Calculated: a5e4645170def1f183d551af44ffed03824da78a6312ef4b14af4398f98d9cf227c784b169a0b
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Downloading successful, but checksum doesn't match. Calculated: f6dc87bb2fab2e324c8c8f39804993c39695676b91912a457ada031c61d21de6771e2afb26d4e
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were triedFailed to download metadata (metalink: "https://mirrors.fedoraproject.org/metalink?repo=fedora-41&arch=x86_64") for repository "fedora"
 Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

yes this looks like my issue. I am in Wichita, Kansas… read thru that post, but not seeing a fix. What should I do?

i am getting the same error when running sudo dnf5 upgrade since yesterday, except i am on fedora 40.
>>> Downloading successful, but checksum doesn't match. Calculated: [...]

Installed F41 beta from brazil. Same issue with a big list of errors about checksum.

But it definitely looks like that my update was pushing from a Brazilian mirror.

Beta comes with df5 active. And dnf points to it.

it seems that every release is affected. Repositories updates and updates-testing do not show any new updates pushed to the repositories since Fr or Sa.

1 Like

It is being worked: https://pagure.io/fedora-infrastructure/issue/12183

One will just need to be patient.

1 Like

appears fixed for me.

1 Like