Bug 1957854 - dnf update error - Unable to set zchunk file descriptor
Summary: dnf update error - Unable to set zchunk file descriptor
Keywords:
Status: CLOSED DUPLICATE of bug 1927988
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-06 16:07 UTC by vikram goyal
Modified: 2021-05-10 16:09 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-10 16:09:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf.librepo.log and dnf.log combined (51.56 KB, text/plain)
2021-05-06 16:07 UTC, vikram goyal
no flags Details

Description vikram goyal 2021-05-06 16:07:43 UTC
Created attachment 1780355 [details]
dnf.librepo.log and dnf.log combined

Description of problem:
Fedora 34 fresh install. dnf can't update with errors after installing auto downloaded updates.

Version-Release number of selected component (if applicable):
dnf-data-4.6.1-1.fc34.noarch
libdnf-0.60.0-1.fc34.x86_64
python3-libdnf-0.60.0-1.fc34.x86_64
python3-dnf-4.6.1-1.fc34.noarch
dnf-4.6.1-1.fc34.noarch
python3-dnf-plugins-core-4.0.19-1.fc34.noarch
dnf-plugins-core-4.0.19-1.fc34.noarch
python3-dnf-plugins-extras-common-4.0.13-3.fc34.noarch
python3-dnf-plugin-system-upgrade-4.0.13-3.fc34.noarch
zchunk-libs-1.1.9-2.fc34.x86_64

How reproducible:


Steps to Reproduce:
1.dnf clean all -> 15 files removed
2.dnf update

Actual results:
Error: Failed to download metadata for repo 'updates-modular': Yum repo downloading error: Downloading error: Unable to initialize zchunk file repodata/41a271c95fcfec5a929cf2ed048eff90f7c864acdd2ed3da58cadcae86ebe196-filelists.xml.zck: Unable to set zchunk file descriptor for repodata/41a271c95fcfec5a929cf2ed048eff90f7c864acdd2ed3da58cadcae86ebe196-filelists.xml.zck: Unable to find multipart download range

Expected results:


Additional info:
selinux is permissive for now.

Comment 1 vikram goyal 2021-05-06 16:45:33 UTC
setting zchunk=False in /etc/dnf/dnf.conf resolved the issue.

Comment 2 amatej 2021-05-10 16:09:09 UTC
I believe this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1927988 and it is definitely connected to the https://mirror.sjtu.edu.cn/fedora mirror.

I am still not sure about all the details (as described in the bz1927988 and also how come you were able to reproduce this even after doing dnf clean all) but it should be resolved by a fix from: https://github.com/zchunk/zchunk/issues/40, which is present in zchunk-1.1.11-1.fc34.

If you are able to reproduce this even with the new zchunk please let us know.

*** 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.