Preferred release is set but upgrades in other version.
Hi all,
i am trying to yum update in order to get all the updates but not upgrade to another minor version.
I followed solution proposed (eg. https://access.redhat.com/solutions/238533) but my systems keeps getting updated from 7.2 to 7.5.
I perform all the needed steps:
1) subscription-manager release --set=7.2
2) yum clean all
3) subscription-manager repos –enable=
Finally i run yum update and eventually it gets updated to v7.5.
Any help would be appreciated.
Thank you in advance.
Responses
Hi Ioannis,
Those steps looks perfect, what does the command "subscription-manager release --show" output says?
That is strange, try removing the contents of this folder "/var/cache/yum" then run "yum clean all". Also, I'd appreciate if you could show the output of the following commands:
#yum repolist
#cat /etc/yum.conf
Setting the "subscription-manager release" is necessary but not sufficient to stay on an older release. Do you have an EUS subscription attached to the system in question? What is the output of:
subscription-manager list
subscription-manager repos --list | grep 7.2
(the repos --list option will also show us whether you are using a Satellite server or the Red Hat CDN)
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
