LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   problems with yum (fedora 1) (https://www.linuxquestions.org/questions/fedora-35/problems-with-yum-fedora-1-a-230493/)

sohmc 09-14-2004 10:38 AM

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!

ferreter 09-14-2004 11:38 AM

Follow the directions at fedorafaq.org, there is an example (and well done) yum.conf file there for you to use.

sohmc 09-14-2004 01:10 PM

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...

ferreter 09-14-2004 01:15 PM

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.

JediKnight2 09-14-2004 10:13 PM

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


All times are GMT -5. The time now is 12:06 AM.