failed to synchronize cache for 'updates'
I have recently installed Fedora 25 (Server) in a virtual environment. Whenever I attempt any use of 'dnf', I receive the 'Failed to synchronize cache ...' message. I tried to ping 'google.com' with no success, but 8.8.8.8 responds. I am new to Linux and need guidance as to what should I try to fix first.
Thanks,
Welcome to ask.fedora. Does pinging google.com just fail, or does it respond with
Name or service not known
, which would mean that DNS is failing.The system responds with "Name or service not known". I was not clear in my original post that that was the system response when pinging google.com
OK, try editing your network connection and specifying a pair of DNS servers.
I used 'nmcli device show' and it lists one of my Windows 2012 R2 servers as IP.DNS[1]. How do I add the second DNS server? I would plan on using 8.8.8.8 as the second DNS.
Normally, I deal with such things through a GUI. However, if I had to use a CLI, I'd start out with
man nmcli
to find out if it can do what I need.