0

Error: Failed to synchronize cache for repo 'updates'

I am using Fedora 25. I'm trying to install GCC on fedora25 using the sudo dnf install gcc command. It is always showing:

Error: Failed to synchronize cache for repo 'updates'

Fedora GCC Error-handling Add a comment
jacob
asked Oct 23 2021

Answer

0

The issue can be fixed with
dnf clean all && dnf update --releasever=25.
This overrides the $releasever with the one you supply. After that, I was able to update and install rpms again.
after in
/etc/dnf/dnf.conf

zchunk=false

Add a comment
linuxhelp
asked Oct 23 2021
Post your Answer