An error occurred while installing the man command program in yum.

Source: Internet
Author: User

An error occurred while installing the man command program in yum.

After CentOS is installed for the first time, the man command cannot be used. Check that the man command program is not installed. Try to install man

Yum install man

The result is as follows:

Loaded plugins: fastestmirror

Setting up Install Process

Cocould not retrieve than list http://mirrorlist.centos.org /? Release = 6 & arch = x86_64 & repo = OS & infra = stock error was

14: pycurl error 6-"Couldn't resolve host 'using list .centos.org '"

Error: Cannot retrieve repository metadata (repomd. xml) for repository: base. Please verify its path and try again

I checked some information on the Internet. Most people say that the DNS configuration is incorrect, and then I configured the local DNS server.

In addition, the network is good, and you can ping Baidu. How can this problem be solved?

 

Solved: Just restart the network After configuring dns in/etc/sysconfig/network-scripts/ifcfg-eth0

Command

Vi/etc/sysconfig/network-scripts/ifcfg-eth0

Add a line DNS1 = 8.8.8.8 save and exit

Restart service network restart.

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.