I don't think it's a bug or version dependent. Sometimes a repository server returns this and dnf stops update. I want to know workaround. Or I want to remove this site from the mirror list (apparently Chinese site).
-----------------------------------------------------
[tetsuji@maverick ~]$ sudo dnf -y --refresh --downloadonly update
Fedora 34 openh264 (From Cisco) - x86_64 2.3 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 56 kB/s | 6.5 kB 00:00
Fedora Modular 34 - x86_64 456 kB/s | 178 kB 00:00
Fedora Modular 34 - x86_64 - Updates 53 kB/s | 6.3 kB 00:00
Fedora Modular 34 - x86_64 - Test Updates 12 kB/s | 4.6 kB 00:00
Fedora 34 - x86_64 - Test Updates 28 kB/s | 8.9 kB 00:00
Fedora 34 - x86_64 - Test Updates 188 kB/s | 302 kB 00:01
Errors during downloading metadata for repository 'updates-testing':
- Curl error (52): Server returned nothing (no headers, no data) for http://mirror.sjtu.edu.cn/fedora/linux/updates/testing/34/Everything/x86_64/repodata/9ec668f6e2b5e84aa22352f2a298ff3c5eda6d0f20ab11afe24dfd8c19a3ac36-filelists.xml.zck [Empty reply from server]
- Curl error (52): Server returned nothing (no headers, no data) for http://mirror.sjtu.edu.cn/fedora/linux/updates/testing/34/Everything/x86_64/repodata/187ece83b72d3fc9fddd76df7bcec92712f071374b60de70aafce394694d89c5-primary.xml.zck [Empty reply from server]
- Zchunk error: Unable to find multipart download range
Error: Failed to download metadata for repo 'updates-testing': Yum repo downloading error: Downloading error: Unable to initialize zchunk file repodata/187ece83b72d3fc9fddd76df7bcec92712f071374b60de70aafce394694d89c5-primary.xml.zck: Unable to set zchunk file descriptor for repodata/187ece83b72d3fc9fddd76df7bcec92712f071374b60de70aafce394694d89c5-primary.xml.zck: Unable to find multipart download range
Thanks, this looks like a duplicate of that url.
BTW I modified .repo files so that baseurl is set to two fast mirrors in the US. It works fine to me.
-Tetsuji
*** This bug has been marked as a duplicate of bug 1927988 ***