Q:
Errors during downloading metadata for repository 'updates-testing-modular':
- Zchunk error: Unable to find multipart download range
Error: Failed to download metadata for repo 'updates-testing-modular': Yum repo downloading error: Downloading error: Unable to initialize zchunk file repodata/7aedfa08c8577b2f2c9267954d16e4f6ba6e5c12b6aba747bae533fa9c4125f4-primary.xml.zck: Unable to set zchunk file descriptor for repodata/7aedfa08c8577b2f2c9267954d16e4f6ba6e5c12b6aba747bae533fa9c4125f4-primary.xml.zck: Unable to find multipart download range
A:
sudo vi /etc/dnf/dnf.conf
# 在文件末尾添加如下内容
zchunk=False
# :wq 保存并退出
# 重启 packagekit 服务
sudo systemctl restart packagekit.service
# 重新更新缓存
sudo pkcon refresh force