Showing posts with label Couldn't resolve host 'mirrorlist.centos.org. Show all posts
Showing posts with label Couldn't resolve host 'mirrorlist.centos.org. Show all posts

Saturday, March 8, 2014

Centos - 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"

Centos - 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"

If you are trying to download packages using terminal and you are facing this error, try this solution.

Open file /etc/resolv.conf, add following line in the file and save it.
nameserver 8.8.8.8

8.8.8.8 is google's public DNS address.


Now restart networking and try to install packages again.