dnf & https://mirrors.fedoraproject.org timeout

asked 2016-01-26 11:43:24 -0600

shinkicker gravatar image

Hi,

I can't do anything with dnf as all mirrors are timing out, yet there is no problems with my connection.

This is upon performing a dnf update:

dnf.exceptions.RepoError: Failed to synchronize cache for repo 'fedora' from      'https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64': Cannot prepare internal mirrorlist: Curl   error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64     [Connection timed out after 120001 milliseconds]
Jan 26 17:33:37 CRITICAL Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [Connection timed out after 120001 milliseconds]

Yet I can connect at a quick speed to mirrors.fedoraproject.org

curl -o /dev/null -s -w %{time_total}\\n https://mirrors.fedoraproject.org
0.575

My dnf.conf:

[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=true
fastestmirror=true
skip_if_unavailable=True
edit retag flag offensive close merge delete

Comments

su

dnf clean all
davidva gravatar imagedavidva ( 2016-01-26 12:40:04 -0600 )edit

hi david, already tried clean all.

shinkicker gravatar imageshinkicker ( 2016-01-26 12:42:45 -0600 )edit

dnf clean all says 0 files removed.

kumargaurav gravatar imagekumargaurav ( 2016-11-05 11:00:56 -0600 )edit

*sudo* dnf clean all solved it for me

jwhite gravatar imagejwhite ( 2016-12-05 05:28:34 -0600 )edit