Fedora 27 - cannot syncronize cache for updates repo
Hi, I upgraded from Fedora 26 to 27 a couple of weeks ago, which went fine, and has been working without any problems since then. I've applied regular updates since then also without issues. This morning however i'm constantly getting the "cannot syncronize cache for updates repo" message, when doing a dnf update. The /etc/yum.repos.d/fedora-updates.repo has the following:
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
Has the updates repo changes it's configuration recently or something? Appreciate any help, thanks!
Update: when running the update command with -v, I get " reviving: failed for 'updates', mismatched sha256 sum.", as well as a bunch of "error: Status code: 404 for http://mirror.uv.es/mirror/fedora/lin...64/repodata/6bfb2b2a1d71a2d2e89fca8fa860ec39137e49fa4b3a684f351330646f2ad31b-primary.xml.gz (http://mirror.uv.es/mirror/fedora/lin...64/repodata/6bfb2b2a1d71a2d2e89fca8fa860ec39137e49fa4b3a684f351330646f2ad31b-primary.xml.gz). ..." I tried with --refresh, and that seemed to do the trick. It would still be nice to know what was actually wrong though ...
Sometimes the repositories are temporarily unavailable.