My Oracle Support Banner

How to Exclude Kernel Upgrade From Yum Update via ULN (Doc ID 1610475.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Information in this document applies to any platform.

Goal

Kernel upgrade will update the keyword "default=x" in /boot/grub/grub.conf, which makes the system to load and run newly installed kernel by default from next system reboot.
Due to application certification and other restrictions in a production environment, it may be preferred to exclude kernel upgrade via yum update from ULN.

If yum update is run without any package specified, it will update al packages currently installed.

# yum update
Loaded plugins: rhnplugin, security
This system is receiving updates from ULN.
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package kernel.x86_64 0:2.6.18-371.3.1.0.1.el5 set to be installed
---> Package kernel-devel.x86_64 0:2.6.18-371.3.1.0.1.el5 set to be installed
---> Package kernel-headers.x86_64 0:2.6.18-371.3.1.0.1.el5 set to be updated
---> Package kernel-uek.x86_64 0:2.6.39-400.212.1.el5uek set to be installed
---> Package kernel-uek-devel.x86_64 0:2.6.39-400.212.1.el5uek set to be installed
---> Package kernel-uek-firmware.noarch 0:2.6.39-400.212.1.el5uek set to be installed
---> Package sos.noarch 0:1.7-9.66.0.1.el5 set to be updated
--> Running transaction check
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                        Arch                                        Version                                                         Repository                                                  Size
=============================================================================================================================================================================================================================================
Installing:
 kernel                                                         x86_64                                      2.6.18-371.3.1.0.1.el5                                          ol5_x86_64_latest                                           22 M
 kernel-devel                                                   x86_64                                      2.6.18-371.3.1.0.1.el5                                          ol5_x86_64_latest                                          5.9 M
 kernel-uek                                                     x86_64                                      2.6.39-400.212.1.el5uek                                         ol5_x86_64_UEK_latest                                       33 M
 kernel-uek-devel                                               x86_64                                      2.6.39-400.212.1.el5uek                                         ol5_x86_64_UEK_latest                                      8.7 M
 kernel-uek-firmware                                            noarch                                      2.6.39-400.212.1.el5uek                                         ol5_x86_64_UEK_latest                                      4.0 M
Updating:
 kernel-headers                                                 x86_64                                      2.6.18-371.3.1.0.1.el5                                          ol5_x86_64_latest                                          1.5 M
 sos                                                            noarch                                      1.7-9.66.0.1.el5                                                ol5_x86_64_latest                                          160 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install      5 Package(s)
Upgrade       2 Package(s)

Total download size: 75 M
Is this ok [y/N]:

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.