FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Not sure what's up here -- I tried to upgrade to Fedora 11 using yum and the mirrorlist.txt file disappeared entirely.
Code:
# yum -y update
Loaded plugins: refresh-packagekit
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. </metalink>/
removing mirrorlist with no valid mirrors: //var/cache/yum/updates/mirrorlist.txt
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again
Anyone have a working mirrorlist I can use or have any idea what's going on here? Thanks.
Thanks - any idea what code I can use to update the mirrorlist when the time comes? I'm a bit afraid now that my mirrorlist file is completely missing.
I got a similar issue. It always says Cannot retrieve repository metadata (repomd.xml). Using baseurl instead of mirrorlist, yum works ok. See mine as example
I noticed that whenever I do "yum -y update", even if I put content in /var/cache/yum/fedora/mirrorlist.txt, it blanks out. What I mean here is that it's empty whenever I go back to vi and says it's a new file.
And then I get the error again:
Code:
# yum -y update
Loaded plugins: refresh-packagekit
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. </metalink>/
removing mirrorlist with no valid mirrors: //var/cache/yum/fedora/mirrorlist.txt
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
I strongly suspect that something has gone wrong in the upgrade process. This is why most people recommend a clean install where at all possible. I personally do a clean install because I've heard too many stories like this in regards to upgrades.
If a clean install is not an option, my suggestion to you would be to search the Fedora for fixes.
linus, not easily -- an upgrade using yum would've been ideal. I've been doing doing this successfully via yum since ... erm, the early Fedora days. Never had a problem
Is there another type of upgrade I can try first? preupgrade? (I've never done it before.) Anything else?
billymayday, you mention "search the Fedora for fixes." I suppose you mean some Fedora forum. Where should I look?
Thanks and apologies for the questions -- like I said, this never happened before and it's a bit frustrating
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.