View Full Version : FC10 Beta: yum repository not found?
ahall
14th October 2008, 08:03 PM
All,
yum has been faithfully updating me through all the FC 10 release candidates, but on rc8 (aka Fedora 9.91 iirc), it suddenly stopped working with the "cannot retrieve repository metadata (repomd.xml) for repository: fedora" error.
What can I do about this? I've done a "yum clean all" to no avail and am at a loss for how to proceed....
Help...please?
Thanks in advance,
Drew
ahall
15th October 2008, 04:11 PM
All,
yum has been faithfully updating me through all the FC 10 release candidates, but on rc8 (aka Fedora 9.91 iirc), it suddenly stopped working with the "cannot retrieve repository metadata (repomd.xml) for repository: fedora" error.
What can I do about this? I've done a "yum clean all" to no avail and am at a loss for how to proceed....
Help...please?
Thanks in advance,
Drew
*********************************
To clarify further:
$ uname -a
Linux mojave 2.6.27-0.372.rc8.fc10.i686 #1 SMP Tue Sep 30 01:12:02 EDT 2008 i686 i686 i386 GNU/Linux
It appears that my "fedora" repository reference has been broken. Specifically, the "$releasever" macro is being substituted as 9.91 (vs. 9) thus leading to broken link (if I understand correctly what's going on!).
For now, I've gone in to /etc/yum.repo.d/fedora.repo & replaced $releasever with a hardcoded "9" to see if it can get passed this impasse. I'll report back with success/failure.
Not sure how I ended up in this situation though--I turned on the rawhide repository to get a version of SVN >= 1.5 & somehow managed to break yum. Once the final release of F10 is out, I'll probably turn rawhide off & chalk it up as a lesson learned.
Thanks for any insight anybody may have!
Drew
ahall
15th October 2008, 08:54 PM
Looks like my hardcoded "9" (vs. $releasever) did the trick & got my update process unstuck & over the hump. Just to clarify, I changed the following line in /etc/yum.repo.d/fedora.repo:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
to:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
...in fact, I actually went through all repository references in all my .repo files & substituted the hard "9" for $releasever everywhere. Seemed to do the trick.
Now that the update worked, I've since gone back & restored all of them to the more dynamic $releasever line & successfully updated again.
Not sure how this happened but thought my experience might be useful for others.
Drew
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.