this post was submitted on 08 Sep 2023
37 points (97.4% liked)

Linux

48463 readers
392 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 1 year ago (1 children)

To me it sounds like the mirror you are using do not have the signature to match the package file. Does it happen with other packages too, or just kernel related ones?

Maybe try and switch your mirror and see if that helps.

[–] spez 3 points 1 year ago

Just the kernel packages, also how do you switch your mirror?

[–] taladar 13 points 1 year ago (1 children)

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 1 points 1 year ago

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

[–] [email protected] 3 points 1 year ago (1 children)

Is that from the deltarpms? It's a pretty common problem with them. You can disable deltarpms if you don't mind installing the full package by default. Though if you're concerned about the cost of the data, deltarpms are probably exactly what you want 🫤

[–] [email protected] 3 points 1 year ago

I would disable them, since even Fedora is considering dropping deltarpms last I heard.

[–] [email protected] 3 points 1 year ago

bruh that username 😭