LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to patch my redhat Enterprise Linux 5.1 to the latest patch level? (https://www.linuxquestions.org/questions/red-hat-31/how-to-patch-my-redhat-enterprise-linux-5-1-to-the-latest-patch-level-673801/)

shaybery 10-02-2008 02:26 PM

How to patch my redhat Enterprise Linux 5.1 to the latest patch level?
 
I have redhat Enterprise Linux 5.1 and I want to patch it to the latest patches of 5.1.
By Using yum update ,its update my redhat to the latest version which is now 5.2, but I just want to patch my redhat to the latest patches of 5.1!

There are any ideas?

stuart_cherrington 10-03-2008 02:27 AM

Tricky.

When you run a Yum update, you get all the patches available for the current OS to make it the latest OS. The difference between 5.1 and 5.2 is only patches, nothing much else.

If you want to make the host look like its only 5.1, then don't upgrade the kernel which will make it 5.2.

Why do you not want to run 5.2? I've been running it for months, no issues.

Stu.

shaybery 10-03-2008 11:13 AM

Quote:

Originally Posted by stuart_cherrington (Post 3298757)
Tricky.

When you run a Yum update, you get all the patches available for the current OS to make it the latest OS. The difference between 5.1 and 5.2 is only patches, nothing much else.

If you want to make the host look like its only 5.1, then don't upgrade the kernel which will make it 5.2.

Why do you not want to run 5.2? I've been running it for months, no issues.

Stu.


1) How can I cause yum update to update all except for the kernel?

2) We prefer not to upgrade from 5.1 to 5.2 because our costumers(which use RH5.1) want to stay in RH 5.1 but still get the latest patches for that version only.

NOTE : I thing it's a psychological issue for the costumers,the movment from RH 5.1 to 5.2.
they may thing that they get diffrent RH version.

banzai_slr 10-04-2008 06:47 AM

[QUOTE=shaybery;3299110]1) How can I cause yum update to update all except for the kernel?

You can use the exclude flag with yum :
Quote:

# yum update --exclude=kernel
That will exclude any kernel packages.

shaybery 10-05-2008 02:04 AM

[QUOTE=banzai_slr;3299932]
Quote:

Originally Posted by shaybery (Post 3299110)
1) How can I cause yum update to update all except for the kernel?

You can use the exclude flag with yum :

That will exclude any kernel packages.


I thing that excluding kernel from the yum, will not upgrade the kernel at all, but it will upgrade the rpm name redhat-release-5Server-5.2...


There is a way that yum will upgrade only to the latest of 5.1 ?


All times are GMT -5. The time now is 09:45 PM.