"Failed to synchronize cache" for all repositories
Fedora 25 hung and I had to hard power off. After powering up dnf will not sync any of my repositories except for Chrome. Networking is fine for other programs. I wonder if some file is corrupted.
sudo dnf clean all
sudo dnf update --refresh
google-chrome
Failed to synchronize cache for repo 'rommon-telegram', disabling.
Failed to synchronize cache for repo 'updates', disabling.
Failed to synchronize cache for repo 'fedora-nvidia', disabling.
Failed to synchronize cache for repo 'carlgeorge-ripgrep', disabling.
Failed to synchronize cache for repo 'insync', disabling.
Failed to synchronize cache for repo 'fedora', disabling.
Contents of fedora.repo
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True
Bad internet connection?
No, as I say saying, networking is fine. The Chrome repo syncs but none of the others.
Let's take a look at your Fedora repo file. How does it look like?
cat /etc/yum.repos.d/fedora.repo
Edited my question to show the contents of fedora.repo. Thanks.
rommon-telegra, fedora-nvidia, carlgeorge-ripgrep, insync?? who provides it? disable it!!