Re: Is YUM superior to Synaptic ?? (was synaptic evolution)

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

 



On Thu, 2005-01-27 at 00:21 -0600, Gain Paolo Mureddu wrote:
> > 
> > A good reason why the release version should not be hard -coded in the
> > config files.
> > 
> >   
> That's just what makes yum so flexible and suitable... You make a
> reference to the release version from a variable that is read from the
> system's own relase version files... Have you seen the config files
> for yum??
> 
> For example the URL of the mirrors list found in yum.repos.d/fedora-
> updates.repo:
> 
> mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-
> fc$releasever
> 
> Note the reference to $releasever? This WILL change as soon as you
> upgrade to FC4 accordingly. If read FC3 in there, you'd be trouble,
> but fortunately it does not.

On the other hand, look at the sample yum.conf are the fedorafaq site:
http://www.fedorafaq.org/samples/yum.conf

See that the fedora.us release version is hard-coded at 2, because the
fedora.us guys have only recently got their FC3 repository up and so
everyone was using the FC2 packages instead. Everyone that has done this
will at some point need to edit their yum.conf to update to the new
repo, or get packages for the wrong distribution.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux