[Error]-error:failure:repodata/filelists.xml.gz from addons: [Errno] No more mirrors to try.

Source: Internet
Author: User

The following error occurred in the Yum installation file when using CentOS5.5 recently:
Error:failure:repodata/filelists.xml.gz from addons: [Errno) No more mirrors to try.
Workaround:
Yum Clean All




CentOS Replacement NetEase Source

1, download the Xinyuan and the local source backup
[Email protected] ~]# cd/etc/yum.repos.d/
[Email protected] ~]# wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo
[Email protected] ~]# MV Centos-base.repo Centos-base.repo.bak
[Email protected] ~]# MV Centos6-base-163.repo Centos-base.repo
2. Yum Source Update
[email protected] ~]# Yum clean all && yum makecache && Yum update-y
3. Complete


Example of using the Yum command tool
1. Upgrade the System
[[Email protected] ~] #yum Update
2. Install the specified package
[Email protected] ~]# yum-y install Mysql-server
3, upgrade the specified package
[[email protected] ~]# yum-y update MySQL
4. Uninstalling the specified package
[[email protected] ~]# yum-y remore MySQL
5. View the installed and available software groups on the system, and for available software groups, you can choose to install
[email protected] ~]# Yum grouplist
6. Install a software group from the available software groups shown in the previous command
[Email protected] ~]# yum-y groupinstall Emacs
7. Update the packages in the specified software group
[Email protected] ~]# yum-y groupupdate Emacs
8. Uninstalling packages in the specified software group
[Email protected] ~]# yum-y groupremove Emacs
9. Clear the cache of RPM header files and package files
[email protected] ~]# Yum Clean all
10. Search for related packages
[Email protected] ~]# Yum-y search Emacs
11, display the information of the specified package
[email protected] ~]# Yum info Emacs
12. Query the dependent package of the specified package
[email protected] ~]# Yum deplist Emacs
13. List all packages that start with Yum
[email protected] ~]# Yum list yum\*
14. List RPM packages that are installed but not included in the repository
[Email protected] ~]# # Yum List Extras

This article is from the "Boyhack" blog, make sure to keep this source http://461205160.blog.51cto.com/274918/1759824

[Error]-error:failure:repodata/filelists.xml.gz from addons: [Errno] No more mirrors to try.

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.