Fedora Account System
Red Hat Associate
Red Hat Customer
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.
setting zchunk=False in /etc/dnf/dnf.conf resolved the issue.
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 ***