"Failed to synchronize cache" for all repositories

asked 2017-01-18 19:26:11 -0500

andmalc gravatar image

updated 2017-01-20 19:05:30 -0500

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
edit retag flag offensive close merge delete

Comments

Bad internet connection?

florian gravatar imageflorian ( 2017-01-19 22:04:14 -0500 )edit

No, as I say saying, networking is fine. The Chrome repo syncs but none of the others.

andmalc gravatar imageandmalc ( 2017-01-20 12:10:34 -0500 )edit

Let's take a look at your Fedora repo file. How does it look like? cat /etc/yum.repos.d/fedora.repo

florian gravatar imageflorian ( 2017-01-20 12:45:38 -0500 )edit

Edited my question to show the contents of fedora.repo. Thanks.

andmalc gravatar imageandmalc ( 2017-01-20 19:06:24 -0500 )edit

rommon-telegra, fedora-nvidia, carlgeorge-ripgrep, insync?? who provides it? disable it!!

davidva gravatar imagedavidva ( 2017-01-20 21:11:08 -0500 )edit