Centos Error Cannot Retrieve Repository Metadata Repomd.xml For Repository Addons
Contents |
here for a quick overview of the site Help Center Detailed answers to cannot retrieve repository metadata (repomd.xml) for repository redhat any questions you might have Meta Discuss the workings and
Cannot Retrieve Repository Metadata (repomd.xml) For Repository Fedora
policies of this site About Us Learn more about Stack Overflow the company Business Learn more error cannot retrieve repository metadata (repomd.xml) for repository rhel-x86_64-server-6 about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a repomd.xml location question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top yum update fails: Error: Cannot retrieve repository
Repomd.xml Errno 14
metadata (repomd.xml) for repository … up vote 17 down vote favorite 10 I'm using CentOS 6.3. When I try to update my system with yum I have this message: yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.ircam.fr * centosplus: miroir.univ-paris13.fr * extras: mirrors.ircam.fr * update: centos.quelquesmots.fr http://mirror.centos.org/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again yum clean all Loaded plugins: fastestmirror Cleaning repos: CactiEZ addons base centosplus extras pgdg93 update Cleaning up Everything Cleaning up list of fastest mirrors yum check Loaded plugins: fastestmirror check all yum erase apf Loaded plugins: fastestmirror Setting up Remove Process No Match for argument: apf Determining fastest mirrors * base: centos.mirror.fr.planethoster.net * centosplus: centos.mirror.fr.planethoster.net * extras: mirrors.ircam.fr * update: centos.quelquesmots.fr CactiEZ | 2.9 kB 00:00 CactiEZ/primary_db | 13 kB 00:00 http://mirror.centos.org/centos/6/addons/x86_64/repodata/re
Support Search GitHub This repository Watch 166 Star 3,633 Fork 684 puphpet/puphpet Code Issues 247 Pull requests 15 Projects 0 Wiki Pulse Graphs New issue Centos 6.7 yum repomd.xml not found fails - "Error: Cannot retrieve repository metadata (repomd.xml) for repository: scl. Please verify repomd.xml missing its path and try again" #2321 Closed L-L-B opened this Issue May 26, 2016 · 15 comments Projects None yet
Cannot Retrieve Repository Metadata Repomd.xml Redhat 6
Labels bug Milestone No milestone Assignees No one assigned 11 participants L-L-B commented May 26, 2016 I'm provisioning the centos box, on up it's getting this error: "Error: Cannot retrieve repository metadata http://unix.stackexchange.com/questions/109585/yum-update-fails-error-cannot-retrieve-repository-metadata-repomd-xml-for-re (repomd.xml) for repository: scl. Please verify its path and try again" Suspect it's related to this issue: https://bugs.centos.org/view.php?id=10925 Anyone know how I can work around it? 👍 1 sadon commented May 26, 2016 PuPHPet need to update base box of centos 6.5 to 6.6 or remove scl repository via inline script. sadon commented May 26, 2016 as temporary solution you can add the file: (but better https://github.com/puphpet/puphpet/issues/2321 is wait for update puppet/centos6-5 base box) {project}/puphpet/files/exec-preprovision/_update-slc-repo.sh #!/bin/bash #hotfix for CentOS 6.5 repos /usr/bin/yum -y remove centos-release-SCL /usr/bin/yum -y install centos-release-sclo-rh 👍 9 ❤️ 1 L-L-B commented May 26, 2016 Thanks for your help, I'll wait for the update to the base box jtreminio added the bug label May 26, 2016 bickerstoff commented May 27, 2016 When executing the above commands (specifically: /usr/bin/yum -y install centos-release-sclo-rh), I get: No package centos-release-sclo-rh available. Error: Nothing to do bickerstoff commented May 27, 2016 Any idea when the base box will be updated? hoshsadiq commented May 29, 2016 I'm having the same issue, the workaround @sadon said didn't work hoshsadiq commented May 29, 2016 So as a workaround this worked for me: Run vagrant up, and once the puphpet ascii art comes up, cancel it and vagrant ssh into the box and run the following two commands: sudo /usr/bin/yum -y remove centos-release-SCL sudo /usr/bin/yum -y install centos-release-scl Then exit and run vagrant provision For some reason having these two in exec-preprovision doesn't work. Not sure why! 👍 13 😄 1 🎉 1 JosephMaxwell commented May 30, 2016 @sadon: your comment fixed the problem for me. Thank you. natenolting
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://serverfault.com/questions/578009/how-to-fix-cannot-retrieve-repository-metadata-repomd-xml-in-centos policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can cannot retrieve ask a question Anybody can answer The best answers are voted up and rise to the top How to fix “Cannot retrieve repository metadata (repomd.xml)” in CentOS? up vote 0 down vote favorite I've tried yum update yum and yum clean all, but neither help to resolve the following problem: # yum install httpd --installroot=/opt/httpd2 Loaded plugins: fastestmirror Loading mirror speeds from cached cannot retrieve repository hostfile * rpmforge: repoforge.spinellicreations.com http://centos.karan.org/el%24releasever/extras/stable/x86_64/RPMS/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: kbs-CentOS-Extras. Please verify its path and try again I've also tried deleting any .repo files for kbs-CentOS-Extras from /etc/yum.repos.d, and re-running the command, without any changes. Here's my system information, just in case: # uname -a Linux 2.6.18-274.3.1.el5xen #1 SMP Tue Sep 6 20:57:11 EDT 2011 x86_64 GNU/Linux I am now using the .repo file provided here. Here is my /etc/yum.conf: [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 bugtracker_url=http://bugs.centos.org/yum5bug timeout=300 installonly_limit = 5 # Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h The yum.log file is empty, but /var/cache/yum/kbs-CentOS-Misc contains a repomd.xml -- could this perhaps be used instead of the remote copy? If not, any suggestions for how I can solve this? centos yum installation update share|improve this question edited Feb 25 '14 at 19:09 asked Feb 24 '14 at 21:08 Rob 1772321 Show us the relevant .repo file –Hangin on in quiet desperation Feb 24 '14 at 21:37 1 Seems that $releasever is not correctly