Failed to Synchronize Cache for Repo Fedora Modular
-
3rd June 2018,03:50 AM #1
Error: Failed to synchronize cache for repo 'fedora-modular'
Hi, everyone.
I've never had any issue with any Fedora, until now. I'm trying dnf update, but getting "Error: Failed to synchronize cache for repo 'fedora-modular'."
A quick search of fedoraforum, directly and via google, has not yielded anything matching the exact search terms. Similar ones simply suggested that update servers may be down.
So, has anyone seen/encountered this? Thanks in advance for any help.
-
3rd June 2018,08:09 AM #2
Re: Error: Failed to synchronize cache for repo 'fedora-modular'
https://forums.fedoraforum.org/showt...pos-be-enabled
Is some discussion about it, maybe you can just disable the repo, find the related file in /etc/yum.repos.d and set the enabled flag to 'enabled=0'
-
4th June 2018,02:05 AM #3
Re: Error: Failed to synchronize cache for repo 'fedora-modular'
Thanks for your quick reply.
However, after I set the enabled flag to 'enabled=0', dnf replied with another "Error: Failed to synchronize cache for repo..." So, i tried disabling every repo (which dnf complained about) until dnf replied with "Nothing to do."
Looks like this could be an on-going issue? In any case, no worries. I'll just be patient. (No reason to not be, right?) Thanks again.
-
4th June 2018,02:23 AM #4
Re: Error: Failed to synchronize cache for repo 'fedora-modular'
Yeah, don't disable valid, critical repos like "updates" but I was thinking "fedora-modular" was possibly a mistake on your system. I think modular was a early try at a server feature and they then decided to remove it or rework it.
But for normal repos like "updates" seeing a "Failed to synchronize..." statement means there's a network problem usually at the remote server (because I assume your normal stuff like web browsing is working)
-
4th July 2019,11:45 AM #5
Re: Error: Failed to synchronize cache for repo 'fedora-modular'
I had the same issue with Fedora 30 which I did not update in about a month. No need to disable any repos!
Just did a 'dnf clean all' then 'dnf update' worked!
-
30th July 2019,07:55 PM #6
Re: Error: Failed to synchronize cache for repo 'fedora-modular'
The "dnf clean all" solution was not working for me. After running "dnf update --verbose" i realized that I had a problem with some certificates
$ sudo dnf clean all
5 files removed$ sudo dnf update --verbose
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.2.5
cachedir: /var/cache/dnf
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/teamviewer.repo; Configuration: OptionBinding with id "failovermethod" does not exist
repo: downloading from remote: Dropbox
Dropbox Repository 2.1 kB/s | 2.4 kB 00:01
Dropbox: using metadata from Fri 15 Feb 2019 12:24:20 AM CET.
repo: downloading from remote: fedora-modular
error: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://mirrors.fedoraproject.org/me...30&arch=x86_64 [error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none] (https://mirrors.fedoraproject.org/me...30&arch=x86_64).
Fedora Modular 30 - x86_64 0.0 B/s | 0 B 00:00
Cannot download 'https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-30&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://mirrors.fedoraproject.org/me...30&arch=x86_64 [error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none].
Failed to synchronize cache for repo 'fedora-modular'
Error: Failed to synchronize cache for repo 'fedora-modular'At the moment as a workaround I set the sslverify=0 into /etc/dnf/dnf.conf which allow me to run a dnf update (as stated on this discussion https://www.reddit.com/r/Fedora/comm...cates_problem/).
I will try to figure out what is the problem that I am having with the certificates
Failed to Synchronize Cache for Repo Fedora Modular
Source: https://forums.fedoraforum.org/showthread.php?318347-Error-Failed-to-synchronize-cache-for-repo-fedora-modular
0 Response to "Failed to Synchronize Cache for Repo Fedora Modular"
Post a Comment