Solve the yum command to see [Errno 14] curl #6-"Couldn't resolve host ..."

Source: Internet
Author: User
Tags domain name server

Solve the yum command to see [Errno 14] curl #6-"Couldn't resolve host ..."

When installing svn, an error is reported that an address cannot be accessed.

# Yum list | grep subversion

[Plain] view plaincopy
  1. Response-"Couldn 'tresolvehost' opensource .wandisco.com '"
  2. Attempting other images.
  3. Oneoftheconfiguredrepositoriesfailed (WandiscoSVNRepo ),
  4. Andyumdoesn' thaveenoughcacheddatatocontinue. Atthispointtheonly
  5. Safethingyumcandoisfail. Thereareafewwaystowork "fix" this:
  6. 1. Contacttheupstreamfortherepositoryandgetthemtofixtheproblem.
  7. 2. Reconfigurethebaseurl/etc. fortherepository, topointtoaworking
  8. Upstream. Thisismostoftenusefulifyouareusinganewer
  9. Distributionreleasethanissupportedbytherepository (andthe
  10. Packagesforthepreviousdistributionreleasestillwork ).
  11. 3. Disabletherepository, soyumwon 'tuseitbydefault. Yumwillthen
  12. Justignoretherepositoryuntilyoupermanentlyenableitagainoruse
  13. -- Enablerepofortemporaryusage:
  14. Yum-config-manager -- disableWandiscoSVN
  15. 4. Configurethefailingrepositorytobeskipped, ifitisunavailable.
  16. Notethatyumwilltrytocontacttherepo. whenitrunsmostcommands,
  17. Sowillhavetotryandfaileachtime (andthus. yumwillbebemuch
  18. Slower). Ifitisaverytemporaryproblemthough, thisisoftenanice
  19. Compromise:
  20. Yum-config-manager -- save -- setopt = WandiscoSVN. skip_if_unavailable = true
  21. Failure: repodata/repomd. xmlfromWandiscoSVN: [Errno256] Nomoremirrorstotry.
  22. Response-"Couldn 'tresolvehost' opensource .wandisco.com '"
In the Domain Name Server Configuration, add 8.8.8.8 to solve the problem: [plain] view plaincopy
  1. # Vi/etc/resolv. conf
  2. # GeneratedbyNetworkManager
  3. Nameserver8.8.8.8
  4. Nameserver211.155.23.88
  5. Nameserver211.155.27.88

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.