Bug 1933264 - certain mirror returns repository error "Server returned nothing"
Summary: certain mirror returns repository error "Server returned nothing"
Keywords:
Status: CLOSED DUPLICATE of bug 1927988
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 34
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-26 11:35 UTC by legopad296
Modified: 2021-03-01 15:27 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-03-01 15:27:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description legopad296 2021-02-26 11:35:22 UTC
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

Comment 1 amatej 2021-03-01 13:49:45 UTC
As a workaround it might help to turn off zchunk by adding: zchunk=0 to dnf.conf.

Other than that I believe this bug is a duplicate of: https://bugzilla.redhat.com/show_bug.cgi?id=1927988

Comment 2 legopad296 2021-03-01 15:27:13 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.