Solution for "cocould not retrieve into list" in CentOS yum -- resolv. conf configuration, yum1_list

Source: Internet
Author: User
Tags nameserver

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

Related Article

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.