On 06/24/2016 08:04 AM, Akash Mishra wrote:
Hi, I recently installed Fedora 24 (infact today only). I am facing issues with dnf. Here is what I get whenever I use it.
Error: Failed to synchronize cache for repo 'fedora'
I can reach fedoraproject.org but I cant reach xyz.fedoraproject.org (ask,forums). Also, I cannot download anything from the GUI 'software sources'
Detailed errors from the package manager follow:
cannot download Packages/h/hexchat-2.12.1-2.fc24.x86_64.rpm to /var/cache/PackageKit/24/metadata/fedora/packages/: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-24&arch=x86_64 [Resolving timed out after 120000 milliseconds]
I have tried 'dnf clean all' but I am still getting the same errors. Output of dnf clean all - http://pastebin.com/e8uEVJ6v This is not a network issue since I can access other websites.
Can I do anything to fix this ? or Should I try a fresh install ?
You have a DNS failure:
[Resolving timed out after 120000 milliseconds]
So get that solved first. Verify your network came up ("sudo ifconfig -a") and that you have valid nameservers configured ("cat /etc/resolv.conf"). Try to ping the name servers from that list (if you have any). ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - God is real...........unless declared integer or long - ----------------------------------------------------------------------