Hi,
I am having issues with dnf its failing for timeout issue. I have tried the following is there anything like yum where you can specify the mirror name since its not using the fastestmirror option.
After updating /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=true
fastestmirror=true or fastestmirror=1 --tried both & both failed
skip_if_unavailable=True
Time to access the regular mirror
[osboxes@osboxes ~]$ curl -o /dev/null -s -w %{time_total}\\n
https://mirrors.fedoraproject.org
299.327
Time to access a specific mirror
[root@osboxes ~]# curl -o /dev/null -s -w %{time_total}\\n
https://mirrorsecondary.math.princeton.edu
0.126
[root@osboxes /]# dnf upgrade
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/me...23&arch=x86_64 [Connection timed out after 120001 milliseconds]
[root@osboxes /]# dnf list installed
Error: Failed to synchronize cache for repo 'updates' from 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f23&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for
https://mirrors.fedoraproject.org/me...23&arch=x86_64 [Connection timed out after 120001 milliseconds]
As per the following thread
https://ask.fedoraproject.org/en/que...mirror-source/
i tried using fastestmirror=1 it failed.
Now how can i enable YUM in Fedora 23 or use DNF with specific mirror.
Thanks in advance
JET1974