LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-14-2004, 10:38 AM   #1
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
problems with yum (fedora 1)


Hey everyone!

I'm having some problems updating via yum with my Fedora Core 1 machine.

It seems that the yum script looks for header information according to the core distribution number.

And it seems that they (redhat, fedora, etc) has discontinued supporting Fedora 1.

When I run `yum check-update` with my fedora 1 machine, it gives me some errors saying it can't find the header files. My fedora 2 machine runs fine. Same yum.conf.

Here is the error I get:
Code:
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fed...rs/header.info
  Executing failover method
Server: Fedora.us Extras (Stable)
retrygrab() failed for:
  http://mirrors.kernel.org/fedora.us/...rs/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.quicknet.nl/fedora/fed...rs/header.info
  Executing failover method
retrygrab() failed for:
  http://mirrors.usc.edu/pub/linux/fed...rs/header.info
  Executing failover method
retrygrab() failed for:
  http://fedora.mirror.sdv.fr/fedora/f...rs/header.info
  Executing failover method
retrygrab() failed for:
  http://download.fedora.us/fedora/fed...rs/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://mirrors.kernel.org/fedora.us/...rs/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Can anyone tell me a way to make yum think I have a fedora 2 machine? I can't seem to track down the file that tells yum that it is a fedora 1 machine.

thanks!
 
Old 09-14-2004, 11:38 AM   #2
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Follow the directions at fedorafaq.org, there is an example (and well done) yum.conf file there for you to use.
 
Old 09-14-2004, 01:10 PM   #3
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
I got the yum.conf file from the fedorafaq.org web site

if you look at the yum.conf file, it gets a string called "$releasever". The problem is that the path http://mirrors.kernel.org/fedora.us/...rs/header.info
(and the like) are not found.

The problem is that the paths DO exist for
http://mirrors.kernel.org/fedora.us/...rs/header.info

(notice the "2")

The only work-around that I've found is to replace all instances of '$releasever' with "2".

not sure if this is going to break anything on my side...
 
Old 09-14-2004, 01:15 PM   #4
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
I see what you mean, but I don't run into the issues you are having with yum, $releasever translates into 2 for me just fine. Perhaps defining releasever at the top of the config file in [main] will do the trick for you.
 
Old 09-14-2004, 10:13 PM   #5
JediKnight2
LQ Newbie
 
Registered: Jul 2004
Posts: 22

Rep: Reputation: 15
If you are using $releasaver..you HAVE to state the variable at the top as $releasever=1 or 2 depending on if its FC1 or FC2
 
  


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
Does yum update from Fedora 3 to Fedora 4? Feenix566 Linux - Newbie 1 12-02-2005 10:52 AM
Problems updating Fedora Core 4 with Yum Extender tron_thomas Linux - Software 1 11-06-2005 07:22 PM
Fedora Yum problems Thom_Redhat Linux - Distributions 9 10-17-2005 01:52 PM
Getting YUM setup (Fedora v3) JoelK04 Linux - Newbie 7 03-01-2005 10:19 PM
Fedora Core 3 Yum help chaos_4_4 Fedora 2 11-10-2004 05:18 PM

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

All times are GMT -5. The time now is 02:33 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