PDA

View Full Version : yum - linux server issues with repos. How to fix



Fli
04-03-2013, 09:49 PM
Hi, when you got this error when using yum:

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
http://mirror.centos.org/centos/6.4/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.centos.org'"

it might indicate you need to setup your nameservers for the VPS or server.
Do it there:

vim /etc/resolv.conf
add:


# Google nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4