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