[Yum] after "yum install fedora-release", can't update yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2003-10-23 at 20:28, Robert P. J. Day wrote:
>   sorry for being such a pain, but in order to get the most recent
> RPMs, i followed previous advice and ran
> 
> # yum install fedora-release
> 
> that seemed to work fine, /etc/redhat-release now shows
>   
>   Fedora Core release 0.95 (Severn)
> 
> but when i tried to update yum with 
> 
> # yum update yum
> 
> i got
> 
> Gathering header information file(s) from server(s)
> Server: Red Hat Linux Null - i386 - Base
> retrygrab() failed for:
>   
> http://mirror.dulug.duke.edu/pub/yum-repository/redhat/Null/i386/headers/header.info
>   Executing failover method
> failover: out of servers to try
> Error getting file 
> http://mirror.dulug.duke.edu/pub/yum-repository/redhat/Null/i386/headers/header.info
> [Errno 4] IOError: HTTP Error 404: Not Found
> 
>   apparently, the $releasever value in /etc/yum.conf is being replaced by 
> "Null".  what have i pooched here?

in yum 2.0.4 this is solved.

the gist is this:
$releasever is the version of the package specified in distroverpkg in
[main] in the yum.conf

this package defaults to redhat-release.

now redhat-release has been removed in fedora core 0.95
so you need to set distroverpkg=fedora-release
and then presto it will work.

alternatively upgrade to yum-2.0.4 and you'll find that it works better.

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux