[Yum] yum vs apt and releasever variable

seth vidal skvidal at phy.duke.edu
Thu Nov 20 13:06:37 UTC 2003


> I'm running Fedora Core 1.  I have a single co-lo server.  I updated to
> Fedora using apt, but now I'm wondering whether to stick with apt or use
> yum.  I don't want to keep upgrading Fedora to the latest release;
> security updates are what concern me most from now on.
> 
> Firstly, what are yum's advantages over apt, apart from coming with a
> useful cron script?
> 
> Secondly, my yum.conf has the lines:
> 
> [core]
> name=Fedora Core $releasever - $basearch - Base
> baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
> 
> The thing is, if I run "yum info", I get:
> 
> Gathering header information file(s) from server(s)
> Server: Fedora Core Null - i386 - Base
> retrygrab() failed for:
>   http://fedora.redhat.com/releases/fedora-core-Null/headers/header.info
> 
> In other words, $basearch is getting set but $releasever isn't.
> 
> Again, apologies for the dumb questions.

what version of yum are you using?
also what does:
 rpm -q redhat-release 
or
 rpm -q fedora-release
return?

-sv





More information about the Yum mailing list