failed to synchronize cache for 'updates'

asked 2017-03-06 21:22:27 +0000

nriacone gravatar image

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,

edit retag flag offensive close merge delete

Comments

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.

sideburns ( 2017-03-06 22:03:41 +0000 )edit

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

nriacone ( 2017-03-07 13:46:31 +0000 )edit

OK, try editing your network connection and specifying a pair of DNS servers.

sideburns ( 2017-03-07 19:25:59 +0000 )edit

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.

nriacone ( 2017-03-07 20:29:36 +0000 )edit

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.

sideburns ( 2017-03-07 20:43:48 +0000 )edit