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

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.