Solution for "cocould not retrieve into list" in CentOS yum -- resolv. conf configuration, yum1_list
Cause: resolv. conf is not configured. Solution: Configure resolv. conf In The/etc directory to add the nameserver IP address, for example, nameserver 8.8.8.8.
Nameserver 8.8.4.4
Search localdomain: Save and run the preceding command again.Key point: The serach line is behind the nameserver.
After CentOS6.4 is changed to the 163 source, yum update is difficult to make contos need to be updated to the source, and the connection speed is automatically used for the source.
The theoretical steps are correct. Run yum makecache and then run yun update.
My system is CentOS 6.1. How can I upgrade the system? The system prompts that the YUM repository file is not found. The image is not mounted. The YUM repository path is incorrect. The YUM repository path is invalid.
Solution:
Transfer/etc/yum. repos. d/CentOS-Media.repo to its folder and try again while ensuring linux can be networked