[Linux] Error: failure: repodata/repomd. xml from fedora: [Errno 256] No more mirrors to try., repodatarepomd. xml
The following error occurs when you use the yum source of the fedora17 system:
Error: failure: repodata/repomd. xml from fedora: [Errno 256] No more mirrors to try.
Refer to the practices on the Internet: (these two operations are generally required for any yum change)
yum clean all
yum clean metadata
Then
yum update
Or error.
Take a closer look at the error:
http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://download.fedoraproject.org/pub/fedora/linux/releases/17/Everything/x86_64/os/repodata/repomd.xml
Is the source configuration problem!
Source Sohu configuration file address: http://mirrors.sohu.com/help/fedora.html
According to the instructions or not, and then go to the official website and Sohu to see the next, 17 under the folder has been empty (view http://ftp.iij.ad.jp/pub/linux/fedora/updates/17/), indeed can not be updated.
We can only update other versions or compatible versions.
View the yum source configured on the local machine: yum repolist enabled
The result is 0.
Finally found that fedora17 through the Community Support version, found a historical version of the local http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/17/Fedora/x86_64/ OS /repodata/
There are many sources of old versions.
The following is a feasible method:
I deleted all the source files other than fedora. repo under/etc/yum. repos. d/and modified the base_url of fedora. repo.
Bytes/
[fedora]name=Fedora $releasever - $basearchfailovermethod=prioritybaseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/os/#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearchenabled=1metadata_expire=7dgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch[fedora-debuginfo]name=Fedora $releasever - $basearch - Debugfailovermethod=prioritybaseurl=http:http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/debug/#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearchenabled=0metadata_expire=7dgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch[fedora-source]name=Fedora $releasever - Sourcefailovermethod=prioritybaseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/source/SRPMS/#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearchenabled=0metadata_expire=7dgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
Then execute
yum clean metadatayum clean allyum update
Finally, check whether it is available.
[root@Erya yum.repos.d]# yum repolist Loaded plugins: langpacks, presto, refresh-packagekitrepo id repo name statusfedora Fedora 17 - x86_64 27,033repolist: 27,033
In this way, yum can be used again.
This article from the "orangleliu notebook" blog, reprint please be sure to keep this source http://blog.csdn.net/orangleliu/article/details/40588799
Author: orangleliu
I am a ora user. I want to install google chrome after I have installed it today. I have not installed google chrome on the Internet.
First, find the googlechrome download interface on the webpage and download the rpm package.
Then sudo rpm-ivh chrome's rpm package
Yum Installation
The biggest disadvantage of yum sources in China is that the speed is slow and the quality of the source is poor. You can go to wiki or google to find a better yum source. google should be able to find the yum accelerated package installation method.