[Yum] Specific OS Version

BJ Dierkes wdierkes at 5dollarwhitebox.org
Wed Nov 3 17:24:31 UTC 2010

This is an interesting question for me, as it is something I've been struggling to figure a way around.  In our environment we are locking boxes to the latest EUS/zStream release.  Once we approve the next EUS release, we then modify the base channels for said boxes in RHN to subscribe to the next supported point release.

What I'm trying to possibly figure out is... how to cleanly support that model with Yum repositories.  For example, in the previous comment it was mentioned to replace '$release' with '5.4' .... however, should the box move from '5.4' to '5.6' EUS yum would be 'broken' or atleast, pointing to the wrong repo.

I guess what I'm getting at is... it would be very handy in supporting EUS to have a variable similar to $release but that supports the full Major.Minor release version of RHEL that can be used in Yum configs... like $full_release.


On Nov 3, 2010, at 3:19 AM, Ljubomir Ljubojevic wrote:

> You can change repository links to instead of $release use 5.4. You will of course have to make sure that you only use repository servers that have separate 5.0, 5.1, 5.2, 5.3, 5.4, 5.5 folder branches beside regular 5 folder branch.
> Visit repositories via web browser and you will understand what I mean.
> Ljubomir
> Ward.P.Fontenot at wellsfargo.com wrote:
>> Is there a way to lock yum to a specific operating version? I have an application requirement to stay at RHEL 5.4.
>> Paul Fontenot
>> Enterprise Key Management & Public Key Infrastructure | EKM/PKI Engineering Team
>> 1305 W 23rd Street | Tempe, AZ 85282
>> MAC S4003-018
>> Tel 480-437-7795 | Cell 480-650-0301
>> _ward.p.fontenot at wellsfargo.com_ <mailto:ward.p.fontenot at wellsfargo.com>
>> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
>>   ------------------------------------------------------------------------
>> _______________________________________________
>> Yum mailing list
>> Yum at lists.baseurl.org
>> http://lists.baseurl.org/mailman/listinfo/yum
> _______________________________________________
> Yum mailing list
> Yum at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum

More information about the Yum mailing list