CentOS yum command appears [Errno] curl#6-" couldn& #39; t resolve host ..." The workaround

Source: Internet
Author: User
Tags domain name server

When installing SVN, I found an error saying that an address could not be interviewed.

# Yum List | grep subversion

Http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/x86_64/repodata/repomd.xml: [Errno] curl#6-"couldn ' t Resolve host ' opensource.wandisco.com ' is trying another mirror. One of the configured repositories failed (WANdisco SVN Repo), and Yum doesn ' t has enough cached data to continue. At this point, the only safe thing Yum can does is fail.     There is a few ways to work "fix" this:1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. For the repository, to point to a working upstream. Often useful if you are using a newer distribution release than is supported by the repository (and th     e packages for the previous distribution release still work). 3. Disable the Repository, so Yum won ' t use it by default. Yum would then just ignore the repository until you permanently enable it again or use--enablerepo for tempo Rary Usage:yum-config-manager--disable wandiscosvn 4. ConfiguRe the failing repository to being skipped, if it is unavailable. Note that Yum would try to contact the repo. When the It runs most commands, so would have the to try and the fail each time (and thus. Yum would be is much slower). If It is a very temporary problem though, this is often a nice compromise:yum-config-manager--save--s Etopt=wandiscosvn.skip_if_unavailable=truefailure:repodata/repomd.xml from WANDISCOSVN: [Errno) No more mirrors to Try.http://opensource.wandisco.com/centos/7/svn-1.8/rpms/x86_64/repodata/repomd.xml: [Errno] curl#6-"Couldn ' t Resolve host ' opensource.wandisco.com ' "

In the domain name server configuration. Join a 8.8.8.8 and conquer:

# vi/etc/resolv.conf# Generated by Networkmanagernameserver 8.8.8.8nameserver 211.155.23.88nameserver 211.155.27.88

(original article.) Reprint please indicate the CSDN blog which is transferred from Clement-xu. )



CentOS yum command appears [Errno] curl#6-" couldn& #39; t resolve host ..." The workaround

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.