On Tue, Feb 22, 2011 at 10:27 AM, Jan Kundrát <[log in to unmask]> wrote:
> Hi there,
> I've got a fresh install of SL5.5, and would like to set it up to use
> the "5x" repositories, whatever they are (or, to be more precise, I want
> this machine to receive updates from new releases as they come, and I
> think that replacing yum's conf files is the way to go). The most
> straightforward way is, I guess, replacing the yum-conf-55 package with
> yum-conf-5x. However, yum won't allow me to do that:

If you haven't much time invested in the install, you might want to
reinstall, otherwise you could edit the .repo files.  YMMV.

This is from a machine installed via boot.iso and pointed to slrolling:

[vaden@sophia ~]$ cat /etc/yum.repos.d/sl.repo
[sl-base]
name=SL 5 base
baseurl=http://ftp.scientificlinux.org/linux/scientific/5rolling/$basearch/SL

http://ftp1.scientificlinux.org/linux/scientific/5rolling/$basearch/SL

http://ftp2.scientificlinux.org/linux/scientific/5rolling/$basearch/SL

ftp://ftp.scientificlinux.org/linux/scientific/5rolling/$basearch/SL
#mirrorlist=ftp://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-54.txt
enabled=1
gpgcheck=0
# To use priorities you must have yum-priorities installed
priority=10
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl5
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-csieh
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpolok
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5