sudo dnf upgrade --refresh Error: Failed to synchronize cache for repo 'update'

asked 2019-04-23 01:34:24 -0500

Forest gravatar image

updated 2019-04-23 03:02:17 -0500

hhlp gravatar image

I tried several times, but it is like this when I want to update the system Or applications. What Should I do to solve it?

edit retag flag offensive close merge delete

Comments

What's the output when you run sudo dnf upgrade -v?

Does ping dl.fedoraproject.org work?

ozeszty gravatar imageozeszty ( 2019-04-23 04:15:31 -0500 )edit

Happens from time to time. Has been going on for years, different mirrors in different countries (Russia, Germany, Finland), different Fedora versions, different internet providers.

I can only assume that something isn't quite right in how Fedora mirrors operate. Some files must be syncing out of sequence or something like that.

As a workaround add this to dnf command:

--disablerepo updates

Kostya Vasilyev gravatar imageKostya Vasilyev ( 2019-04-23 08:18:35 -0500 )edit

and how will he get updates when he disables the repo?

pls do this and post the result here:

dnf clean all;dnf update

rdtcustomercare gravatar imagerdtcustomercare ( 2019-04-26 03:11:30 -0500 )edit