how to update entire server without changing server OS version

Newlinux-men asked:

I am new to linux . I have to patch a new build server. The server is with hundreds of vulnerability thats why I am told to patch system . This server is 7.9 version and registered with
satellite server . I am afraid If I will run " Yum update -y " this will update OS version from 7.9 to 8 since OS version is strictly needs to be 7.9
I have updated kernel recently using " yum update kernel*"
My question is how to update entire server without changing server OS version

Thanks in advance

My answer:


You cannot upgrade major versions of RHEL just with yum. It will always upgrade only on the same major version.

You must follow a specific procedure to upgrade RHEL 7 to 8. Just running yum is not going to do it.

You can run yum update without -y to preview the changes which will be made before you accept them.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.