« HOWTO: VMWare 2.0.2 on 2.6.33.5-124.fc13.x86_64 Fedora 13 | Main | Microsoft.DigitalRights Management.Utilities. ADEntrySearchFailed Exception: Failed to find an entry in the Active Directory: id= …. »
FIX for: Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
By Jesse | June 28, 2010
I recently encountered this error with Fedora 13 when trying to run yum:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
to fix it, goto /etc/yum.repos.d
and rm packagekit-media.repo
I’m not sure why this file is created but it’s not necessary.. Delete it and the problem goes away.. Yum will start behaving normally again.
Topics: Uncategorized | 5 Comments »
July 8th, 2010 at 12:38 am
Works great. Thanks!
July 14th, 2010 at 1:59 am
thanks a lot…..it’s perfect..
July 14th, 2010 at 5:11 am
Thanks! Problem solved….
July 17th, 2010 at 4:40 pm
Thanks for your help comment. It was exactly what I was looking for.
November 10th, 2010 at 3:36 am
I am using fedora11 an having trouble with yum update .The error i got is:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again
I have go through your following solution:
to fix it, goto /etc/yum.repos.d
and rm packagekit-media.repo
I’m not sure why this file is created but it’s not necessary.. Delete it and the problem goes away.. Yum will start behaving normally again.
but i didn’t find any packagekit-media.repo file.i have foll files:
[root@daavy yum.repos.d]# ls
fedora-rawhide.repo
fedora.repo
fedora-updates.repo
fedora-updates-testing.repo
rpmfusion-free-rawhide.repo
rpmfusion-free.repo
rpmfusion-free-updates.repo
rpmfusion-free-updates-testing.repo
NOTE: (I am using baseurl instead of mirror url)
Related to the same problem i am receiving error message again and again:An internal system error has occured:
Traceback (most recent call last):
File “/usr/share/PackageKit/helpers/yum/yumBackend.py”, line 2059, in get_distro_upgrades
pkgs = self.yumbase.pkgSack.returnNewestByName(name=’preupgrade’)
File “/usr/lib/python2.6/site-packages/yum/__init__.py”, line 646, in
pkgSack = property(fget=lambda self: self._getSacks(),
File “/usr/lib/python2.6/site-packages/yum/__init__.py”, line 488, in _getSacks
self.repos.populateSack(which=repos)
File “/usr/lib/python2.6/site-packages/yum/repos.py”, line 260, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File “/usr/lib/python2.6/site-packages/yum/yumRepo.py”, line 162, in populate
if self._check_db_version(repo, mydbtype):
File “/usr/lib/python2.6/site-packages/yum/yumRepo.py”, line 220, in _check_db_version
return repo._check_db_version(mdtype)
File “/usr/lib/python2.6/site-packages/yum/yumRepo.py”, line 1174, in _check_db_version
repoXML = self.repoXML
File “/usr/lib/python2.6/site-packages/yum/yumRepo.py”, line 1337, in
repoXML = property(fget=lambda self: self._getRepoXML(),
File “/usr/lib/python2.6/site-packages/yum/yumRepo.py”, line 1333, in _getRepoXML
raise Errors.RepoError, msg
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again