This discussion is archived
4 Replies Latest reply: Oct 19, 2013 7:49 AM by user8860348 RSS

How to Upgrade Oracle Linux Release 5.0 to Oracle Linux Release 5.6 or above ?

user8860348 Explorer
Currently Being Moderated

Folks,

 

Hello. I am installing PeopleTools 8.53 with Oracle Linux Release 5.0.0.0. whose file name is B36438-01 downloaded from http://edelivery.oracle.com.

But the browser login has some error messages because PeopleTools 8.53 requires Oracle Linux Release 5.6.0.0 whose file name is B62317-01 or above.


My question is:

Can we upgrade Oracle Linux Release 5.0.0.0 to Release 5.6.0.0 or above ?  If yes, how to do it ?

 

Thanks.

  • 1. Re: How to Upgrade Oracle Linux Release 5.0 to Oracle Linux Release 5.6 or above ?
    Dude! Guru
    Currently Being Moderated

    Upgrading your Oracle Linux system is very easy and straight forward, even if you do not have a subscription. Check the information at http://public-yum.oracle.com and install the yum repository configuration file for OL 5. Then use the command "yum upgrade" and it will upgrade your system to the latest available Oracle Linux 5 release including known errata and patches.

     

    Keep in mind that if you do not want to upgrade to the latest Oracle Linux release version, which is currently 5.10, you need to edit the .repo file and set the ol5_u6_base channel to enabled and the el5_latest to disabled. However, doing so you do not get errata and patches. But I cannot think of a valid reason to use 5.6 instead of 5.10.

     

    If you are patching from 5.0 to anything 5.6 or later, you may need to manually switch your kernel to Oracle UEK, which is default since 5.6. Oracle Linux ships with both, the original RHCK and Oracle UEK kernel. You can probably use "yum install kernel-uek" to perform the task.

  • 2. Re: How to Upgrade Oracle Linux Release 5.0 to Oracle Linux Release 5.6 or above ?
    user8860348 Explorer
    Currently Being Moderated

    Folks,

     

    Hello. Thanks a lot for replying. I have done the following 2 commands:

     

    [root@mylinux yum.repos.d]# wget http://public-yum.oracle.com/public-yum-el5.repo

    This command runs successfully.

     

    [root@mylinux yum.repos.d]# yum upgrade

    This command takes about 2 hours to run, and the last screen is the following:

     

    ---> Package gettext.i386 0:0.17-1.el5 set to be updated
    ---> Downloading header for a2ps to pack into transaction set.
    a2ps-4.13b-57.2.el5.x86_6 100% |=========================|  44 kB    00:00    
    ---> Package a2ps.x86_64 0:4.13b-57.2.el5 set to be updated
    ---> Downloading header for system-config-cluster to pack into transaction set.
    system-config-cluster-1.0 100% |=========================|  37 kB    00:00    
    ---> Package system-config-cluster.noarch 0:1.0.57-17 set to be updated
    ---> Downloading header for libxml2 to pack into transaction set.
    libxml2-2.6.26-2.1.21.0.1 100% |=========================| 8.4 kB    00:00    
    ---> Package libxml2.i386 0:2.6.26-2.1.21.0.1.el5_9.3 set to be updated
    ---> Downloading header for redhat-artwork to pack into transaction set.
    redhat-artwork-5.0.9-2.0. 100% |=========================| 916 kB    00:07    
    ---> Package redhat-artwork.x86_64 0:5.0.9-2.0.3.el5 set to be updated
    ---> Downloading header for libvorbis to pack into transaction set.
    libvorbis-1.1.2-3.el5_7.6 100% |=========================| 7.8 kB    00:00    
    ---> Package libvorbis.x86_64 1:1.1.2-3.el5_7.6 set to be updated
    ---> Downloading header for gnome-volume-manager to pack into transaction set.
    gnome-volume-manager-2.15 100% |=========================|  23 kB    00:00    
    ---> Package gnome-volume-manager.x86_64 0:2.15.0-5.el5 set to be updated
    ---> Downloading header for readline to pack into transaction set.
    readline-5.1-3.el5.x86_64 100% |=========================| 8.6 kB    00:00    
    ---> Package readline.x86_64 0:5.1-3.el5 set to be updated
    ---> Downloading header for vnc-server to pack into transaction set.
    vnc-server-4.1.2-14.el5_6 100% |=========================|  18 kB    00:00    
    ---> Package vnc-server.x86_64 0:4.1.2-14.el5_6.6 set to be updated
    ---> Downloading header for glib2-devel to pack into transaction set.
    glib2-devel-2.12.3-4.el5_ 100% |=========================|  43 kB    00:00    
    ---> Package glib2-devel.i386 0:2.12.3-4.el5_3.1 set to be updated
    ---> Downloading header for nfs-utils to pack into transaction set.
    nfs-utils-1.0.9-70.el5.x8 100% |=========================|  42 kB    00:00    
    ---> Package nfs-utils.x86_64 1:1.0.9-70.el5 set to be updated
    ---> Downloading header for dogtail to pack into transaction set.
    dogtail-0.6.1-4.el5.noarc 100% |=========================|  17 kB    00:00    
    ---> Package dogtail.noarch 0:0.6.1-4.el5 set to be updated
    ---> Downloading header for file to pack into transaction set.


    http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/getPackage/file-4.17-28.x86_64.rpm: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Trying other mirror.
    Error: failure: getPackage/file-4.17-28.x86_64.rpm from el5_latest: [Errno 256] No more mirrors to try.

    [root@mylinux yum.repos.d]#


    My questions are:

    First, is the upgrade to the latest version completed ? If not, how to complete the upgrade ?

    Second, does "failure: getPackage/file-4.17-28.x86_64.rpm from el5_latest" affect Oracle Linux to run correctly ?

     

    Thanks.

  • 3. Re: How to Upgrade Oracle Linux Release 5.0 to Oracle Linux Release 5.6 or above ?
    Dude! Guru
    Currently Being Moderated

    Personally I would rather download the appropriate OL 5.10 distribution disk image from https://edelivery.oracle.com and upgrade the system from DVD than download the OS upgrade from the Internet. It is technically possible, but depends on the reliability and speed of your Internet connection and last not least on the remote system. A lot can happen during several hours. if the yum upgrade failed, you can simply try again and it should continue with whatever operation is left to do.

  • 4. Re: How to Upgrade Oracle Linux Release 5.0 to Oracle Linux Release 5.6 or above ?
    user8860348 Explorer
    Currently Being Moderated

    Folks,

     

    Hello. I repeat the command "yum upgrade" at root 14 times . Finally, the command reached "complete". The total time is about 25 hours.

    The last screen is below:

     

    securitylevel.x86_64 0:1.6.29.1-6.el5 system-config-securitylevel-tui.x86_64 0:1.6.29.1-6.el5 system-config-services.noarch 0:0.9.4-5.0.3.el5 system-config-users.noarch 0:1.2.51-7.0.1.el5 systemtap.x86_64 0:1.8-6.el5 systemtap-runtime.x86_64 0:1.8-6.el5 talk.x86_64 0:0.17-31.el5 tar.x86_64 2:1.15.1-32.el5_8 tcl.x86_64 0:8.4.13-6.el5 tcp_wrappers.x86_64 0:7.6-40.7.el5 tcp_wrappers.i386 0:7.6-40.7.el5 tcpdump.x86_64 14:3.9.4-15.0.1.el5 tcsh.x86_64 0:6.14-17.el5_5.2 telnet.x86_64 1:0.17-41.el5 tk.x86_64 0:8.4.13-5.el5_1.1 tmpwatch.x86_64 0:2.9.7-1.1.el5.5 tog-pegasus.x86_64 2:2.11.0-3.0.1.el5 traceroute.x86_64 3:2.0.1-6.el5 tux.x86_64 0:3.2.18-9.fc6.0.3 udev.x86_64 0:095-14.29.0.2.el5 unix2dos.x86_64 0:2.2-26.2.3.el5 unzip.x86_64 0:5.52-3.0.1.el5 up2date.x86_64 0:5.10.1-41.22.el5 up2date-gnome.x86_64 0:5.10.1-41.22.el5 usermode.x86_64 0:1.88-3.el5.2 usermode-gtk.x86_64 0:1.88-3.el5.2 util-linux.x86_64 0:2.13-0.59.0.2.el5_8 valgrind.i386 1:3.5.0-5.el5 valgrind.x86_64 1:3.5.0-5.el5 vconfig.x86_64 0:1.9-3 vim-common.x86_64 2:7.0.109-7.2.el5 vim-enhanced.x86_64 2:7.0.109-7.2.el5 vim-minimal.x86_64 2:7.0.109-7.2.el5 vino.x86_64 0:2.13.5-9.el5 virt-manager.x86_64 0:0.6.1-16.el5 vixie-cron.x86_64 4:4.1-81.el5 vnc-server.x86_64 0:4.1.2-14.el5_6.6 wget.x86_64 0:1.11.4-3.el5_8.2 words.noarch 0:3.0-9.1 wpa_supplicant.x86_64 1:0.5.10-10.el5 xen.x86_64 0:3.0.3-142.el5_9.3 xen-libs.x86_64 0:3.0.3-142.el5_9.3 xen-libs.i386 0:3.0.3-142.el5_9.3 xkeyboard-config.noarch 0:0.8-10.el5 xmlsec1.x86_64 0:1.2.9-8.1.2 xmlsec1.i386 0:1.2.9-8.1.2 xmlsec1-devel.i386 0:1.2.9-8.1.2 xmlsec1-devel.x86_64 0:1.2.9-8.1.2 xorg-x11-apps.x86_64 0:7.1-4.0.1.el5 xorg-x11-drivers.x86_64 0:7.1-4.2.el5 xorg-x11-drv-ast.x86_64 0:0.89.9-1.el5 xorg-x11-drv-ati.x86_64 0:6.6.3-3.35.el5 xorg-x11-drv-evdev.x86_64 1:1.0.0.5-5.0.2.el5 xorg-x11-drv-fbdev.x86_64 0:0.3.0-3 xorg-x11-drv-i810.x86_64 0:1.6.5-9.40.el5 xorg-x11-drv-keyboard.x86_64 0:1.1.0-3 xorg-x11-drv-mga.x86_64 0:1.4.13-5.el5 xorg-x11-drv-mutouch.x86_64 0:1.1.0-3 xorg-x11-drv-nv.x86_64 0:2.1.15-4.el5 xorg-x11-drv-sis.x86_64 0:0.9.1-7.3.el5_7.1 xorg-x11-drv-vesa.x86_64 0:1.3.0-8.3.el5 xorg-x11-font-utils.x86_64 1:7.1-3 xorg-x11-proto-devel.x86_64 0:7.1-13.el5 xorg-x11-server-Xnest.x86_64 0:1.1.1-48.101.0.1.el5_10.1 xorg-x11-server-Xorg.x86_64 0:1.1.1-48.101.0.1.el5_10.1 xorg-x11-server-Xvfb.x86_64 0:1.1.1-48.101.0.1.el5_10.1 xorg-x11-server-utils.x86_64 0:7.1-5.el5_6.2 xorg-x11-xfs.x86_64 1:1.0.2-5.el5_6.1 xorg-x11-xinit.x86_64 0:1.0.2-15.el5 xsane.x86_64 0:0.991-5.el5 xterm.x86_64 0:215-8.el5_4.1 yelp.x86_64 0:2.16.0-30.el5_9 yp-tools.x86_64 0:2.9-2.el5 ypbind.x86_64 3:1.19-12.el5_6.1 yum.noarch 0:3.2.22-40.0.1.el5 yum-metadata-parser.x86_64 0:1.1.2-4.el5 yum-updatesd.noarch 1:0.9-5.el5 zip.x86_64 0:2.31-2.el5 zlib.x86_64 0:1.2.3-7.el5 zlib.i386 0:1.2.3-7.el5 zlib-devel.x86_64 0:1.2.3-7.el5 zlib-devel.i386 0:1.2.3-7.el5
    Dependency Updated: dbus.x86_64 0:1.1.2-21.el5
    Replaced: dbus.x86_64 0:1.0.0-6.el5 dbus.i386 0:1.0.0-6.el5 dhcpv6_client.x86_64 0:0.10-33.el5 libhugetlbfs-lib.x86_64 0:1.0.1-1.el5 sysreport.noarch 0:1.4.3-10.el5.0.1
    Complete!
    [root@mylinux yum.repos.d]#

     

    I think the upgrade from 5.0 to the latest 5.10 is completed.

    Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points