Update Oracle Enterprise Linux (OEL) Kernel via YUM

From Ittichai Chammavanijakul's Wiki
Jump to navigation Jump to search
  • Before
[oracle@ol6 etc]$ more /etc/oracle-release
Oracle Linux Server release 6.2
  • Ensure correct repository setup.
[oracle@ol6 ~]$ yum repolist
Loaded plugins: refresh-packagekit, security
repo id          repo name         						status
ol6_latest       Oracle Linux 6Server Latest (x86_64)   17,230
repolist: 17,230

[oracle@ol6 etc]$ cd /etc/yum.repos.d/

[oracle@ol6 yum.repos.d]$ ls
public-yum-ol6.repo

[oracle@ol6 yum.repos.d]$ more public-yum-ol6.repo 
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1               <=== OK

[ol6_ga_base]
name=Oracle Linux $releasever GA installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_u1_base]
name=Oracle Linux $releasever Update 1 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_u2_base]
name=Oracle Linux $releasever Update 2 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearc
h)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[oracle@ol6 yum.repos.d]$ su -
Password: 
  • Initiate update
[root@ol6 ~]# yum update

Loaded plugins: refresh-packagekit, security
ol6_latest                                               | 1.1 kB     00:00     
ol6_latest/primary                                       |  18 MB     00:17     
ol6_latest                                                          17230/17230
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.5.4.7-5.el6 will be updated
---> Package ImageMagick.x86_64 0:6.5.4.7-6.el6_2 will be an update
---> Package NetworkManager.x86_64 1:0.8.1-15.el6 will be updated
---> Package NetworkManager.x86_64 1:0.8.1-33.el6 will be an update
---> Package NetworkManager-glib.x86_64 1:0.8.1-15.el6 will be updated
---> Package NetworkManager-glib.x86_64 1:0.8.1-33.el6 will be an update
---> Package NetworkManager-gnome.x86_64 1:0.8.1-15.el6 will be updated
---> Package NetworkManager-gnome.x86_64 1:0.8.1-33.el6 will be an update
---> Package PackageKit.x86_64 0:0.5.8-19.0.1.el6 will be updated
---> Package PackageKit.x86_64 0:0.5.8-20.0.1.el6 will be an update
---> Package PackageKit-device-rebind.x86_64 0:0.5.8-19.0.1.el6 will be updated
---> Package PackageKit-device-rebind.x86_64 0:0.5.8-20.0.1.el6 will be an update
---> Package PackageKit-glib.x86_64 0:0.5.8-19.0.1.el6 will be updated
---> Package PackageKit-glib.x86_64 0:0.5.8-20.0.1.el6 will be an update
---> Package PackageKit-gstreamer-plugin.x86_64 0:0.5.8-19.0.1.el6 will be updated
---> Package PackageKit-gstreamer-plugin.x86_64 0:0.5.8-20.0.1.el6 will be an update
---> Package PackageKit-gtk-module.x86_64 0:0.5.8-19.0.1.el6 will be updated
---> Package PackageKit-gtk-module.x86_64 0:0.5.8-20.0.1.el6 will be an update
:
:
:
 yum                           noarch 3.2.29-30.0.1.el6        ol6_latest 990 k
 yum-plugin-security           noarch 1.1.30-14.el6            ol6_latest  37 k
 yum-rhn-plugin                noarch 0.9.1-40.0.1.el6         ol6_latest  78 k
 yum-utils                     noarch 1.1.30-14.el6            ol6_latest 100 k
Installing for dependencies:
 abrt-tui                      x86_64 2.0.8-6.0.1.el6          ol6_latest  56 k
 augeas-libs                   x86_64 0.9.0-4.el6              ol6_latest 317 k
 latencytop-common             x86_64 0.5-9.el6                ol6_latest  18 k
 libwacom                      x86_64 0.5-3.el6                ol6_latest  20 k
 libwacom-data                 noarch 0.5-3.el6                ol6_latest  16 k
 matahari-consoles             x86_64 0.6.0-14.el6             ol6_latest  41 k
 matahari-core                 x86_64 0.6.0-14.el6             ol6_latest  19 k
 matahari-python               x86_64 0.6.0-14.el6             ol6_latest  29 k
 matahari-rpc                  x86_64 0.6.0-14.el6             ol6_latest  33 k
 perl-Compress-Raw-Bzip2       x86_64 2.020-127.el6            ol6_latest  43 k
 perl-IO-Compress-Bzip2        x86_64 2.020-127.el6            ol6_latest  46 k
 python-krbV                   x86_64 1.0.90-3.el6             ol6_latest  51 k
 python-qpid                   noarch 0.14-8.el6               ol6_latest 408 k
 python-qpid-qmf               x86_64 0.14-7.0.1.el6_2         ol6_latest 328 k
 python-saslwrapper            x86_64 0.14-1.el6               ol6_latest  25 k
 qpid-tools                    noarch 0.14-2.el6_2             ol6_latest  37 k
 saslwrapper                   x86_64 0.14-1.el6               ol6_latest  19 k
 system-config-keyboard-base   x86_64 1.3.1-4.el6              ol6_latest  96 k
 tuned                         noarch 0.2.19-7.el6             ol6_latest  86 k

Transaction Summary
================================================================================
Install      23 Package(s)
Upgrade     418 Package(s)

Total download size: 476 M
Is this ok [y/N]: y        <==== Acknowledge

Downloading Packages:
(1/441): ImageMagick-6.5.4.7-6.el6_2.x86_64.rpm          | 1.7 MB     00:01     
(2/441): NetworkManager-0.8.1-33.el6.x86_64.rpm          | 1.1 MB     00:01     
(3/441): NetworkManager-glib-0.8.1-33.el6.x86_64.rpm     | 218 kB     00:00     
(4/441): NetworkManager-gnome-0.8.1-33.el6.x86_64.rpm    | 430 kB     00:00     
(5/441): PackageKit-0.5.8-20.0.1.el6.x86_64.rpm          | 526 kB     00:00     
(6/441): PackageKit-device-rebind-0.5.8-20.0.1.el6.x86_6 |  95 kB     00:00     
(7/441): PackageKit-glib-0.5.8-20.0.1.el6.x86_64.rpm     | 220 kB     00:00     
(8/441): PackageKit-gstreamer-plugin-0.5.8-20.0.1.el6.x8 |  95 kB     00:00     
:
:
:
  xorg-x11-drv-v4l.x86_64 0:0.2.0-4.0.1.el6                                                             
  xorg-x11-drv-vesa.x86_64 0:2.3.0-2.0.1.el6                                                            
  xorg-x11-drv-vmware.x86_64 0:11.0.3-1.0.1.el6                                                         
  xorg-x11-drv-voodoo.x86_64 0:1.2.4-1.0.1.el6                                                          
  xorg-x11-drv-wacom.x86_64 0:0.13.0-6.el6                                                              
  xorg-x11-drv-xgi.x86_64 0:1.6.0-11.0.1.el6                                                            
  xorg-x11-server-Xorg.x86_64 0:1.10.6-1.el6                                                            
  xorg-x11-server-common.x86_64 0:1.10.6-1.el6                                                          
  yelp.x86_64 0:2.28.1-13.el6_2                                                                         
  yum.noarch 0:3.2.29-30.0.1.el6                                                                        
  yum-plugin-security.noarch 0:1.1.30-14.el6                                                            
  yum-rhn-plugin.noarch 0:0.9.1-40.0.1.el6                                                              
  yum-utils.noarch 0:1.1.30-14.el6                                                                      

Complete!
  • Check
[root@ol6 ~]# uname -a
Linux ol6.localdomain 2.6.32-300.3.1.el6uek.x86_64 #1 SMP Fri Dec 9 18:57:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@ol6 ~]# more /etc/oracle-release
Oracle Linux Server release 6.3


References: