Guillaume Dargaud wrote:
>> 1. If you're updating from some repository other than RHN (because you
>> have no RHN support), you can uninstall yum-rhn-plugin. I believe only
>> genuine Red Hat supplies the rhn packages, so I'll reiterate the question
>> of *why* you've been updating genuine RH from the SL repo. Is SL really
>> that shady on purpose or did you just get mixed up?
>
It may not be that bad. Perhaps you can remove the link to RHN from your
/etc/yum.repos.d directory and see if there is a file called something like
rhel.repo. If so, get it out of there (do not delete it: you may regret it
and wish to put it back). In my distro, it is not there (they must have some
other way to get that one) but some others are.
>
> You are right that this is the default behavior so the distro must be brain
> dead.
I do not know that it is brain dead. It may just be a slight configuration
error, but I have never investigated how Red Hat do this. And your distro
may be different.
I just looked at CentOS 4 that is running on my other machine, and
/etc/yum.repos.d contains:
[/etc/yum.repos.d]$ ls -l
total 8
-rw-r--r-- 1 root root 2490 Jul 26 2008 CentOS-Base.repo
-rw-r--r-- 1 root root 610 Jul 26 2008 CentOS-Media.repo
Check your /etc/yum.repos.d directory and see if you can understand how it
works.
> I don't have much choice in the distro (for both professional and technical
> reasons).
> I thought there'd be some equivalent repositories for SL5, but I can't find
> them (https://www.scientificlinux.org/community/repo)
> So is it possible to obtain RHN support/license ?
You could get a support license from Red Hat for about $350/year for their
cheapest, most basic option. This would allow you to run Red Hat Enterprise
Linux at no additional charge. And pick up future releases of RHEL as well,
at no additional charge.
But if your current distribution is not RHEL, but SL5 (that I know nothing
about), I would worry about doing this unless you propose to switch to RHEL
at the same time. You might get into horrible RPM dependency problems if the
versions of all the pieces are not compatible.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey
http://counter.li.org
^^-^^ 07:40:01 up 21 days, 18:29, 3 users, load average: 4.13, 4.19, 4.16