General troubleshooting for CentOS Yum errors

Source: Internet
Author: User

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

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.