Centos-yum Update Issue -103
when installing the software on CentOS. Prompt error message:
Could not retrieve Mirrorlisthttp://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14:pycurl ERROR 6-"couldn ' t resolvehost ' mirrorlist.centos.org '"
Could not retrieve Mirrorlisthttp://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras Errorwas
14:pycurl ERROR 6-"couldn ' t resolvehost ' mirrorlist.centos.org '"
Could not retrieve Mirrorlisthttp://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates Errorwas
14:pycurl ERROR 6-"couldn ' t resolvehost ' mirrorlist.centos.org '"
Http://mirrors.163.com/centos/6.2/os/x86_64/repodata/repomd.xml:[errno] Pycurl ERROR 6-"COULDN ' t resolve host ' Mirrors.163.com ' "
Trying other mirror.
Error:cannot Retrieve repository metadata (Repomd.xml) for repository:base. Verify its path and try again
[[Email protected] ~]# service iptables stop
[email protected] ~]# nslookup mirrorlist.centos.org
; ; connection timed out; no servers couldbe reached
to find the problem here, my domain name can not be resolved, yum configuration file points to the domain name can not be identified. Reset under DNS pointing.
[email protected] ~]# vim/etc/resolv.conf
# Generated by NetworkManager
NameServer 8.8.8.8
General troubleshooting for CentOS Yum errors