Fedora about yum upgrade Error

Source: Internet
Author: User
"Error: Cannotretrieverepositorymetadata (repomd. xml) forrepository: adobe-linux-i386.Pleaseverifyitspathandtryagain "in Baidu search, found that not only I have this problem, but there is a little difference. However, the main problem is that yum cannot be found.

"Error: Cannot retrieve repository metadata (repomd. xml) for repository: adobe-linux-i386. Please verify its path and try again"

I searched Baidu and found that not only did I have this problem, but there were some differences. However, the main problem is that yum cannot find the corresponding repository server. I found that the yum official website has an explanation of this error and a solution.


Error: Cannot retrieve repository metadata (repomd. xml) for repository: rpmfusion-foo. Please verify its path and try again
Yum cannot connect to the RPM Fusion servers if you get abve message. that cocould be a problem with your local network or a problem with the same Manager servers from RPM Fusion. if it's the latter use this comment to temporary work around the problem:

Su-c "sed-I's | ^ # baseurl |; s | ^ sort list | # Sort list | '/etc/yum. repos. d/rpmfusion * free * repo"
To undo the change later use this command:

Su-c "sed-I's | ^ baseurl | # baseurl |; s | ^ # Your list | your list | '/etc/yum. repos. d/rpmfusion * free * repo"
It mainly means that the rpmfusion server cannot be connected, either because your network is faulty or the image manager severs is faulty. If it is the latter, you can use the sed command to modify the server address so that yum can be used temporarily. Www.linuxidc.com does not want to talk about sed usage.

I also saw a solution on the Internet. The original Article is as follows:
(1) You need to edit two of your repository files:
/Etc/yum. repos. d/fedora. repo and/etc/yum. repos. d/fedora-updates.repo.
Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with your list. This shoshould be done for both the above files.
(2) Now edit your/etc/hosts file and append the following to it's contents:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
(1) Modify/etc/yum. repos. d/fedora. repo and/etc/yum. repos. d/fedora-updates.repo these two files, remove the annotator before all baseur in the two files, add comments before all the arguments list.
(2) then repair the/etc/hosts file and add two lines at the end
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org

I only follow this method. yum can be updated successfully. This problem may occur frequently on the Internet, because fedoraproject.org often has problems. But I still hope that the problem will not be solved.

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.