LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-30-2008, 10:01 PM   #1
SkipFed9
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Rep: Reputation: 0
Fedora 9 yum removing mirrorlist with no valid mirrors. . .


Hi,

When I run yum update I get:

[root@localhost fedora]# yum update
Loaded plugins: refresh-packagekit
http://astromirror.uchicago.edu/fedo...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.kernel.org/fedora/rel...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.cogentco.com/pub/linux...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.reflected.net/fedora/...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.steadfast.net/fedora/r...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
fedora | 2.4 kB 00:00
primary.sqlite.bz2 | 7.6 MB 03:15
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
[root@localhost fedora]#

I suspect that I've hosed my mirrorlist.txt file somehow.

Things I've tried:
1. yum clean all
2. copy similar mirrorlist.txt from another fedora machine
3. edit fedora.repo

Help?

Thank you!

Patrick
 
Old 07-31-2008, 05:56 AM   #2
storkus
Member
 
Registered: Jun 2008
Posts: 310

Rep: Reputation: 45
If you had tried it by hand, you'll have noticed that it fails in the variable given for the OS name (between "x86_64" and "repodata"). Until you find out why, hard-code it in your mirrorlist.txt to "9".

Mike
 
Old 07-31-2008, 09:20 AM   #3
SkipFed9
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
hummm. . .

Mike,

Thank you for your response!

>>If you had tried it by hand,>>

Specifically what are you referring to? I've read most every FAQ, manual and piece of documentation that I could find on yum - including many troubleshooting forums - try exactly ?what? by hand?


>>you'll have noticed that it fails in the variable given for the OS name (between "x86_64" and "repodata").>>

For my learning, how did you determine this?

>> Until you find out why, hard-code it in your mirrorlist.txt to "9".>>

It is. '/9/' specifically, if I am reading this correctly.

Thank you for your response!

Patrick
 
Old 07-31-2008, 09:23 AM   #4
SkipFed9
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Mike,

Are you referring to . ./os%0D/ . ?? Again, for my learning, how would I know this was a variable?

Thank you!

Patrick
 
Old 07-31-2008, 10:35 AM   #5
storkus
Member
 
Registered: Jun 2008
Posts: 310

Rep: Reputation: 45
Sorry Pat. Yes, that's what I'm referring to. I figured this out by following the links you gave in your first message and then going up the directory tree in Firefox manually until I something, then followed it back down. Because of this and the odd writing it must be a shell substitution variable or similar. Why Yum isn't resolving it I don't know.

Since I don't run Fedora (I'm a Slackware guy) I can't help you on fixing it; maybe some Fedora guys can.

Mike
 
Old 07-31-2008, 05:36 PM   #6
SkipFed9
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks!

Excellent process - I will try and keep you posted when I get there. .

Thank you!

P
 
Old 08-01-2008, 09:20 AM   #7
SkipFed9
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hey!

Mike,

Thank you!

Your response didn't directly fix the problem, but your methodology showed me how to fix it myself. It was multiple problems, but I applied your logic and methods to solving it, and alas, all is well. I had 494 updates. LOL.

THANK YOU!

Patrick
 
  


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
what does closest mirror mean in: urpmi.addmedia --mirrorlist '$MIRRORLIST' secretlydead Mandriva 4 07-25-2008 04:02 PM
Problems in YUM mirrors deepumnit Fedora 1 07-01-2008 10:19 AM
valid mirrors john83reuben Linux - Newbie 3 12-21-2007 01:03 AM
Your Fedora Core 3 yum.conf using mirrors yeehi Fedora - Installation 0 11-13-2004 10:25 AM
Fedora Core 2 yum Mirrors? Zaskar Fedora 3 02-27-2004 02:51 AM


All times are GMT -5. The time now is 08:35 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration