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.