Hey, I am using Fedora Linux 38 with the 6.4.13 kernel. I have had this problem for quite a while now. Everytime I run sudo dnf upgrade and there’ an update to the kernel, dnf downloads the kernel and related packages (kernel-modules, kernel-modules-extra etc.) but cites a md5 mismatch and then re-downloads it. This time it works but this whole costs me quite a bit of data. What do you think is causing this? I have cleared the dnf cache multiple times and yet this happens.

  • taladar@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    13
    ·
    10 months ago

    The real question is why all but the last download do not have the correct checksum. It makes sense for it to delete downloads that do not pass that check. Have you tried checking for differences between the unsuccessful and successful downloads, e.g. different mirrors, file sizes or similar issues besides the checksum itself?

    Maybe run something like Wireshark while you run that command to check for network errors and/or differences in the addresses?

    Checking log files would also be an option to see if those contain additional information.

    It might also be possible to inspect the different runs of the command via strace or bpftrace to get data like the file size or the checksum if it does not print those.

    • spez@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I am not that technically knowledgeable but I will try to use a different network next time.