I know how to exclude certain packages when updating RHEL like:
yum update –exclude=kernel
How would I prevent yum from updating from 5.3 to 5.5
linuxredhatyum
I know how to exclude certain packages when updating RHEL like:
yum update –exclude=kernel
How would I prevent yum from updating from 5.3 to 5.5
Best Answer
Excluding
redhat-*
files prevents the release information from being updated e.g. it still thinks it's 5.3 .So when I did the
yum update
(I have only 5.4 not 5.5). I ended up with alsb_release
command that says:openssh-server-4.3p2-36.el5 (from 5.4)
rather than the
openssh-server-4.3p2-29.el5.i386.rpm
from 5.3
These are the packages that would be excluded:
Personally I'm with Ignacio on upgrading the whole thing. I think you will need to to a bit of digging into what those packages provide and decide whether or not it's safe to exclude them. If your customer is that keen on what the NSA thinks then this might not get by them.