For more information about centos5.2 updates, see Linux general technology-Linux technology and application. [I = s] This post was last edited by Mr. R
I have installed centos5.2 in VM6.5, but I cannot update it, but I can access the Internet.
Scenario 1:
The following prompt appears when you open the add or delete program.
Scenario 2:
This error occurs when you use yum to update or install any software on the terminal.
Ftp://ftp3.tsinghua.edu.cn/mirro... epodata/repomd. xml: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd. xml) for repository: update. Please verify its path and try again
In addition, I have also set the yum source many times and changed many sources that are relatively fast on the Internet, but the same error still occurs. Will this error be related to the installation in a virtual machine?
Add my CentOS-Base.repo document
# CentOS-Base.repo
#
# This file uses a new release list system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and
# Update status of each mirror to pick mirrors that are updated to and
# Geographically close to the client. You shoshould use this for CentOS updates
# Unless you are manually picking other mirrors.
#
# If the specified list = does not work for you, as a fall back you can try
# Remarked out baseurl = line instead.
#
#
[Base]
CentOS-5-Base
Repo = OS
Baseurl = ftp://ftp3.tsinghua.edu.cn/#/centos/5.2/ OS /?basearch/
Gpgcheck = 1
Gpgkey = ftp://ftp3.tsinghua.edu.cn/mirror/centos/RPM-GPG-KEY-CentOS-5
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