yum syntax to update all except Kernel
The syntax is:
yum --exclude=packgeName* update
yum --exclude=packgeName1* --exclude=packgeName2* update
yum -x 'packageName*' update
yum -x 'packageName1*' -x 'packageName2*' update
Examples
To prevent yum command from updating the Kernel type:
yum -y --exclude=kernel* update
|
OR
yum -y -x 'kernel*' update