LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-09-2009, 09:44 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
mirrorlist for Fedora 11


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.
 
Old 06-09-2009, 09:49 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Probably hasn't propagated yet. i notice a lot of mirrors don't have the F11 iso's yet.
 
Old 06-09-2009, 10:48 PM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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.
 
Old 06-09-2009, 10:58 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Probably "yum clean all" or similar
 
Old 06-10-2009, 06:24 AM   #5
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
hmmm - so when this propagates, are we sure it'll work? My mirrorlist.txt file is still nonexistent.
 
Old 06-10-2009, 04:12 PM   #6
ysun
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
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

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
 
Old 06-10-2009, 05:11 PM   #7
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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
Why is mirrorlist.txt blanking out?!
 
Old 06-11-2009, 01:52 PM   #8
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
bump -- I really could use help. Thank you.
 
Old 06-11-2009, 09:15 PM   #9
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
I take it nobody else is having this issue? Is there ANYTHING I can do at all?
 
Old 06-11-2009, 09:25 PM   #10
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Worst case scenario, you may have to install 11
is that an option for you?
 
Old 06-11-2009, 09:43 PM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
Old 06-11-2009, 09:58 PM   #12
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
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
 
Old 06-11-2009, 10:31 PM   #13
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Sorry - I meant the Fedora site - that would include their wiki and forum
 
Old 06-11-2009, 11:23 PM   #14
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
Thanks -- good plan to check that out. I've been on LQ for so long that I didn't even consider the other communities.
 
Old 06-12-2009, 12:15 AM   #15
ysun
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
See if my post on #6 helps you. It works for me. I would suggest you run https://mirrors.fedoraproject.org/mi...11&arch=x86_64 or https://mirrors.fedoraproject.org/mi...a-11&arch=i386 to find your mirror servers. Put your preferred mirror server as the base and comment out the mirrorlist line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum Prob: Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?r vikram_cvk Linux - Server 4 10-05-2010 02:25 PM
Yum issue - looks like it's getting an HTML page for the mirrorlist stangdano Linux - Software 3 01-07-2009 08:03 AM
Fedora 9 yum removing mirrorlist with no valid mirrors. . . SkipFed9 Linux - Newbie 6 08-01-2008 09:20 AM
Hi! Wanted to say hello so i can post a copy of my mirrorlist.txt that has a URL in SkipFed9 LinuxQuestions.org Member Intro 2 07-30-2008 10:34 PM
what does closest mirror mean in: urpmi.addmedia --mirrorlist '$MIRRORLIST' secretlydead Mandriva 4 07-25-2008 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration