This discussion is archived
7 Replies Latest reply: Oct 15, 2013 6:51 AM by Pradeepcmst RSS

Should i update required packages  separately using  yum ??

GTS (DBA) Journeyer
Currently Being Moderated


Hello Experts and Everyone !


Good NOON !


@ FYI

Sorry for posting almost related my previous questions.  This is similar to my previous question but

NOT a duplicate question. so please don't lock this question. This thread having different doubts.

----------------------------------------------------------------------------------------------------------


I think , this time i did successfully installing packages using yum.

I have to install 10g r2( 10.2.0.1) on OEL 5.5.

Before installing oracle , i need some confirmation from experts because i am preparing doc for practice.


DID I FINISH SUCCESSFULLY ??


# cd  /etc/yum.repos.d

#  vi  cd.repo


[cd]

name=CD

baseurl=file:///mnt/Server

enabled=1

gpgcheck=0


[root@oracle yum.repos.d]# yum repolist


Loaded plugins: security

repo id                            repo name                     status

cd                                 CD                            enabled: 2,334

repolist: 2,334


[root@oracle yum.repos.d]# yum install kernel-headers


Loaded plugins: security

Setting up Install Process

Package kernel-headers-2.6.18-194.el5.i386 already installed and latest version  Nothing to do

 

[root@oracle yum.repos.d] # yum install  oracle-validated


Loaded plugins: security

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package oracle-validated.i386 0:1.0.0-22.el5 set to be updated

--> Processing Dependency: libXp for package: oracle-validated

--> Processing Dependency: libaio-devel for package: oracle-validated

--> Processing Dependency: unixODBC for package: oracle-validated

--> Processing Dependency: unixODBC-devel for package: oracle-validated

--> Processing Dependency: compat-db for package: oracle-validated

--> Running transaction check

---> Package compat-db.i386 0:4.2.52-5.1 set to be updated

---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated

---> Package libaio-devel.i386 0:0.3.106-5 set to be updated

---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated

---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated

--> Finished Dependency Resolution


Dependencies Resolved


===============================================================================

Package                  Arch         Version                Repository  Size

===============================================================================

Installing:

oracle-validated         i386         1.0.0-22.el5           cd          15 k

Installing for dependencies:

compat-db                i386         4.2.52-5.1             cd         1.7 M

libXp                    i386         1.0.0-8.1.el5          cd          22 k

libaio-devel             i386         0.3.106-5              cd          12 k

unixODBC                 i386         2.2.11-7.1             cd         830 k

unixODBC-devel           i386         2.2.11-7.1             cd         743 k

 

Transaction Summary

===============================================================================

Install       6 Package(s)

Upgrade       0 Package(s)

 

Total download size: 3.3 M

Is this ok [y/N]:   y

Downloading Packages:

-------------------------------------------------------------------------------

Total                                          165 MB/s | 3.3 MB     00:00    

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : unixODBC                                                1/6

  Installing     : unixODBC-devel                                          2/6

  Installing     : libaio-devel                                            3/6

  Installing     : libXp                                                   4/6

  Installing     : compat-db                                               5/6

  Installing     : oracle-validated                                        6/6

Installed:

  oracle-validated.i386 0:1.0.0-22.el5                                        

 

Dependency Installed:

  compat-db.i386 0:4.2.52-5.1               libXp.i386 0:1.0.0-8.1.el5        

  libaio-devel.i386 0:0.3.106-5             unixODBC.i386 0:2.2.11-7.1        

  unixODBC-devel.i386 0:2.2.11-7.1        

Complete!

[root@oracle yum.repos.d]#

 

Questions:

 

Before  going to install  oracle 10g on OEL 5.5 ,

Should i update following packages separately using  yum  or leave it ?? 

 

Oracle 10.2 for OEL 5 32bits

 

binutils-2.17.50.0.6-2.el5

compat-libstdc++-33-3.2.3-61

elfutils-libelf-0.125-3.el5

elfutils-libelf-devel-0.125

gcc-4.1.1-52

gcc-c++-4.1.1-52

glibc-2.5-12

glibc-common-2.5-12

glibc-devel-2.5-12

glibc-headers-2.5-12

libaio-0.3.106

libaio-devel-0.3.106

libgcc-4.1.1-52

libstdc++-4.1.1

libstdc++-devel-4.1.1-52.e15

make-3.81-1.1

sysstat-7.0.0

unixODBC-2.2.11

unixODBC-devel-2.2.11

 

>>  I tried to update above packages   , but getting error >>

 

[root@oracle yum.repos.d]# yum update binutils-2.17.50.0.6-2.el5

Loaded plugins: security

Skipping security plugin, no data

Setting up Update Process

No Match for argument: binutils-2.17.50.0.6-2.el5

No package binutils-2.17.50.0.6-2.el5 available.

No Packages marked for Update

 

Thanks in advance ..

  • 1. Re: Should i update required packages  separately using  yum ??
    GTS (DBA) Journeyer
    Currently Being Moderated


    I tried to update all packages but not avail  - Why ? ( showing sample only)

     

    # yum update compat-libstdc++-33-3.2.3-61

    Loaded plugins: security

    Skipping security plugin, no data

    Setting up Update Process

    No Packages marked for Update

     

    [root@oracle yum.repos.d]# yum update elfutils-libelf-0.125-3.el5

    Loaded plugins: security

    Skipping security plugin, no data

    Setting up Update Process

    No Match for argument: elfutils-libelf-0.125-3.el5

    No package elfutils-libelf-0.125-3.el5 available.

    No Packages marked for Update

     

    # yum update gcc-4.1.1-52

    Loaded plugins: security

    Skipping security plugin, no data

    Setting up Update Process

    No Match for argument: gcc-4.1.1-52

    No package gcc-4.1.1-52 available.

    No Packages marked for Update

  • 2. Re: Should i update required packages  separately using  yum ??
    Pradeepcmst Journeyer
    Currently Being Moderated


    Hi,

    To install 10g r2( 10.2.0.1) on OEL 5.5  just install the packages using yum or you can also manually download the required packages to install the rpm's. Then run the installer which has the verification utility which will check the pre-requirement in  your system. If it says you have any missing package, you can install it by using yum or by manual method. Our ultimate requirement is to install the required packages no matter what procedure(yum or by manual install) we use..

     

     

    Cheers,

    Pradeep. V

  • 3. Re: Should i update required packages  separately using  yum ??
    GTS (DBA) Journeyer
    Currently Being Moderated

    @ Hi Pradeep ;


    Greeting to You.


    I have two questions , MY CLEAR QUEATIONS ARE ,


    1) When installing oracle packages using yum , should i update it manually ?? 


    # yum update {package name}

    # yum install libaio*


    -----------------------------------------------------------------------------------------------


    Wheni i issued following command , # yum install  oracle-validated - 


    2 ) Does yum install all packages ? if so , why should i install manually once again ? 


    # yum install {package name}

    # yum install libaio*


    Thanks in advance ..

  • 4. Re: Should i update required packages  separately using  yum ??
    Pradeepcmst Journeyer
    Currently Being Moderated

    Hi,

    1) Let me put it in clear way. First you can query the required the packages using "rpm -qa <package_name>". if it returns something what you are looking for, then see the version. if you have older version , you can update the packages using yum update. If "rpm -qa <package_name>" doesn't return anything, you install it using yum install package_name(by directly specifying the required version by oracle).

     

    2) And for me also the oracle validated packaged did not install two packages like libaio,,,,, and unixodbc package... so What i did is first i installed the oracle validated packages and then later i downloaded those two packages separately and installed, After this step OUI passed the pre-requirements.  The following links will give you overview what and oracle validated packages will do..

    http://gavinsoorma.com/2011/10/using-the-oracle-validated-rpm-to-install-oracle-11g-on-linux/

    http://blog.oracle48.nl/public-yum-package-oracle-validated-problems-on-64bit-oel/

     

     

    Regards,

    Pradeep. v


  • 5. Re: Should i update required packages  separately using  yum ??
    GTS (DBA) Journeyer
    Currently Being Moderated

    @ Pradeep. v

     

    Greeting to You ! 

    Oh !  Well  clarified.  I have been waiting  for long time to get  such a wonderful  clear answer.  - THANKS 

    I have some other doubts here. I will talk to you after reading some articles.

     

    Thanks again

  • 6. Re: Should i update required packages  separately using  yum ??
    GTS (DBA) Journeyer
    Currently Being Moderated

    Pradeepcmst


    First my sorry for late  reply. Still we did NOT start 10g r2 installation on OEL 5.5.

    Please have a look ,if we missed anything , kindly forward it.

    I have received some warning messages (when executing oracle-validated command ) and separately we did NOT use update command using yum.

     

    Ex

    # yum <package_name> 

    -  Is this necessary before issue  following  command  => # yum install  oracle-validated.

     


    >> What we did  - I am pasting here >>


    # cd  /etc/yum.repos.d

    #  vi  cd.repo 

    [cd]

    name=CD

    baseurl=file:///mnt/Server

    enabled=1

    gpgcheck=0                                    

    skip_if_unavailable=True

    .

    .

    # wget http://public-yum.oracle.com/public-yum-el5.repo

    --2013-10-15 13:04:22--  http://public-yum.oracle.com/public-yum-el5.repo

    Resolving public-yum.oracle.com... 124.124.252.19, 124.124.252.16

    Connecting to public-yum.oracle.com|124.124.252.19|:80... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: 4307 (4.2K) [text/plain]

    Saving to: `public-yum-el5.repo'

    100%[==================================================>] 4,307       --.-K/s   in 0s     

    2013-10-15 13:04:29 (134 MB/s) - `public-yum-el5.repo' saved [4307/4307]

     

    [root@oel5 yum.repos.d]# yum install  oracle-validated

    Loaded plugins: security

    el5_latest                                                           | 1.4 kB     00:00    

    el5_latest/primary                                                                     |  14 MB     08:27    

    el5_latest                                                                                            10433/10433

    Setting up Install Process

    Resolving Dependencies

    --> Running transaction check

    ---> Package oracle-validated.i386 0:1.1.0-18.el5 set to be updated

    --> Processing Dependency: util-linux >= 2.13-0.52.0.1.el5_4.1 for package: oracle-validated

    --> Processing Dependency: irqbalance >= 2:0.55-16 for package: oracle-validated

    --> Processing Dependency: kernel-uek >= 2.6.32 for package: oracle-validated

    --> Processing Dependency: oraclelinux-release for package: oracle-validated

    --> Processing Dependency: libaio-devel for package: oracle-validated

    --> Processing Dependency: libXp for package: oracle-validated

    --> Running transaction check

    ---> Package irqbalance.i386 2:0.55-17.el5 set to be updated

    ---> Package kernel-uek.i686 0:2.6.32-400.33.1.el5uek set to be updated

    --> Processing Dependency: kernel-firmware = 2.6.32-400.33.1.el5uek for package: kernel-uek

    --> Processing Dependency: device-mapper-multipath >= 0.4.9-23.0.1.el5 for package: kernel-uek

    --> Processing Dependency: kexec-tools >= 1.102pre-96.1.1.el5_5.2 for package: kernel-uek

    --> Processing Dependency: mkinitrd >= 5.1.19.6-75.0.5 for package: kernel-uek

    --> Processing Dependency: ql2xxx-firmware for package: kernel-uek

    ---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated

    ---> Package libaio-devel.i386 0:0.3.106-5 set to be updated

    ---> Package oraclelinux-release.i386 0:5-10.0.2 set to be updated

    ---> Package util-linux.i386 0:2.13-0.59.0.2.el5_8 set to be updated

    --> Running transaction check

    ---> Package device-mapper-multipath.i386 0:0.4.9-64.0.6.el5 set to be updated

    --> Processing Dependency: kpartx = 0.4.9-64.0.6.el5 for package: device-mapper-multipath

    --> Processing Dependency: device-mapper-multipath-libs = 0.4.9-64.0.6.el5 for package: device-mapper-multipath

    --> Processing Dependency: libmpathpersist.so.0 for package: device-mapper-multipath

    --> Processing Dependency: libmultipath.so for package: device-mapper-multipath

    ---> Package kernel-uek-firmware.noarch 0:2.6.32-400.33.1.el5uek set to be updated

    ---> Package kexec-tools.i386 0:2.0.3-4.0.4.el5 set to be updated

    --> Processing Dependency: mkinitrd = 5.1.19.6-61.0.1 for package: libbdevid-python

    ---> Package mkinitrd.i386 0:5.1.19.6-81.0.2.el5_10 set to be updated

    --> Processing Dependency: nash = 5.1.19.6-81.0.2.el5_10 for package: mkinitrd

    --> Processing Dependency: e2fsprogs >= 1.39-36 for package: mkinitrd

    --> Processing Dependency: iscsi-initiator-utils for package: mkinitrd

    ---> Package ql2xxx-firmware.noarch 0:1.01.01-0.5.el5 set to be updated

    --> Running transaction check

    ---> Package device-mapper-multipath-libs.i386 0:0.4.9-64.0.6.el5 set to be updated

    ---> Package e2fsprogs.i386 0:1.39-36.0.1.el5_9 set to be updated

    --> Processing Dependency: e2fsprogs-libs = 1.39-36.0.1.el5_9 for package: e2fsprogs

    ---> Package iscsi-initiator-utils.i386 0:6.2.0.872-16.0.1.el5 set to be updated

    ---> Package kpartx.i386 0:0.4.9-64.0.6.el5 set to be updated

    ---> Package libbdevid-python.i386 0:5.1.19.6-81.0.2.el5_10 set to be updated

    ---> Package nash.i386 0:5.1.19.6-81.0.2.el5_10 set to be updated

    --> Running transaction check

    --> Processing Dependency: e2fsprogs-libs = 1.39-23.el5 for package: e2fsprogs-devel

    ---> Package e2fsprogs-libs.i386 0:1.39-36.0.1.el5_9 set to be updated

    --> Running transaction check

    ---> Package e2fsprogs-devel.i386 0:1.39-36.0.1.el5_9 set to be updated

    --> Processing Conflict: kernel-uek conflicts udev < 095-14.27.0.1.el5_7.1

    --> Restarting Dependency Resolution with new changes.

    --> Running transaction check

    ---> Package udev.i386 0:095-14.29.0.2.el5 set to be updated

    --> Finished Dependency Resolution

     

    Dependencies Resolved

     

    ==================================================================================================================

    Package                               Arch            Version                          Repository           Size

    ==================================================================================================================

    Installing:

    oracle-validated                      i386            1.1.0-18.el5                     el5_latest           19 k

    Updating:

    udev                                  i386            095-14.29.0.2.el5                el5_latest          2.4 M

    Installing for dependencies:

    device-mapper-multipath-libs          i386            0.4.9-64.0.6.el5                 el5_latest          197 k

    iscsi-initiator-utils                 i386            6.2.0.872-16.0.1.el5             el5_latest          1.0 M

    kernel-uek                            i686            2.6.32-400.33.1.el5uek           el5_latest           24 M

    kernel-uek-firmware                   noarch          2.6.32-400.33.1.el5uek           el5_latest          3.8 M

    libXp                                 i386            1.0.0-8.1.el5                    el5_latest           22 k

    libaio-devel                          i386            0.3.106-5                        el5_latest           12 k

    oraclelinux-release                   i386            5-10.0.2                         el5_latest          3.0 k

    ql2xxx-firmware                       noarch          1.01.01-0.5.el5                  el5_latest          459 k

    Updating for dependencies:

    device-mapper-multipath               i386            0.4.9-64.0.6.el5                 el5_latest          122 k

    e2fsprogs                             i386            1.39-36.0.1.el5_9                el5_latest          832 k

    e2fsprogs-devel                       i386            1.39-36.0.1.el5_9                el5_latest          576 k

    e2fsprogs-libs                        i386            1.39-36.0.1.el5_9                el5_latest          120 k

    irqbalance                            i386            2:0.55-17.el5                    el5_latest           21 k

    kexec-tools                           i386            2.0.3-4.0.4.el5                  el5_latest          507 k

    kpartx                                i386            0.4.9-64.0.6.el5                 el5_latest          465 k

    libbdevid-python                      i386            5.1.19.6-81.0.2.el5_10           el5_latest           69 k

    mkinitrd                              i386            5.1.19.6-81.0.2.el5_10           el5_latest          488 k

    nash                                  i386            5.1.19.6-81.0.2.el5_10           el5_latest          1.4 M

    util-linux                            i386            2.13-0.59.0.2.el5_8              el5_latest          1.9 M

    Transaction Summary

    ==================================================================================================================

    Install       9 Package(s)

    Upgrade      12 Package(s)


    Total download size: 38 M

    Is this ok [y/N]:

    Downloading Packages:

    (1/21): oraclelinux-release-5-10.0.2.i386.rpm                                              | 3.0 kB     00:00    

    (2/21): libaio-devel-0.3.106-5.i386.rpm                                                    |  12 kB     00:00    

    (3/21): oracle-validated-1.1.0-18.el5.i386.rpm                                             |  19 kB     00:00    

    (4/21): irqbalance-0.55-17.el5.i386.rpm                                                    |  21 kB     00:00    

    (5/21): libXp-1.0.0-8.1.el5.i386.rpm                                                       |  22 kB     00:00    

    (6/21): libbdevid-python-5.1.19.6-81.0.2.el5_10.i386.rpm                                   |  69 kB     00:00    

    (7/21): e2fsprogs-libs-1.39-36.0.1.el5_9.i386.rpm                                          | 120 kB     00:05    

    (8/21): device-mapper-multipath-0.4.9-64.0.6.el5.i386.rpm                                  | 122 kB     00:05    

    (9/21): device-mapper-multipath-libs-0.4.9-64.0.6.el5.i386.rpm                             | 197 kB     00:13    

    (10/21): ql2xxx-firmware-1.01.01-0.5.el5.noarch.rpm                                        | 459 kB     00:30    

    (11/21): kpartx-0.4.9-64.0.6.el5.i386.rpm                                                  | 465 kB     00:39    

    (12/21): mkinitrd-5.1.19.6-81.0.2.el5_10.i386.rpm                                          | 488 kB     00:26    

    (13/21): kexec-tools-2.0.3-4.0.4.el5.i386.rpm                                              | 507 kB     00:14    

    (14/21): e2fsprogs-devel-1.39-36.0.1.el5_9.i386.rpm                                        | 576 kB     00:16    

    (15/21): e2fsprogs-1.39-36.0.1.el5_9.i386.rpm                                              | 832 kB     00:25    

    (16/21): iscsi-initiator-utils-6.2.0.872-16.0.1.el5.i386.rpm                               | 1.0 MB     00:30    

    (17/21): nash-5.1.19.6-81.0.2.el5_10.i386.rpm                                              | 1.4 MB     00:42    

    (18/21): util-linux-2.13-0.59.0.2.el5_8.i386.rpm                                           | 1.9 MB     02:10    

    (19/21): udev-095-14.29.0.2.el5.i386.rpm                                                   | 2.4 MB     02:43    

    (20/21): kernel-uek-firmware-2.6.32-400.33.1.el5uek.noarch.rpm                             | 3.8 MB     04:51 

    21/21): kernel-uek-2.6.32-400.33.1.el5 (97%) 96% [===========================- ]  13 kB/s |  23 MB     01:09 ETA

    (21/21): kernel-uek-2.6.32-400.33.1.el5uek.i686.rpm                                        |  24 MB     28:57    

    ------------------------------------------------------------------------------------------------------------------

    Total                                                                              15 kB/s |  38 MB     43:58    

    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159

    el5_latest/gpgkey                                                                          | 1.4 kB     00:00    

    Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle


    Is this ok [y/N]: y

    Running rpm_check_debug

    Running Transaction Test

    Finished Transaction Test

    Transaction Test Succeeded

    Running Transaction

      Updating       : e2fsprogs-libs                                                                            1/33

    error: failed to stat /mnt/hgfs: No such file or directory

      Updating       : e2fsprogs                                                                                 2/33

      Updating       : udev                                                                                      3/33

      Updating       : util-linux                                                                                4/33

    warning: /etc/pam.d/login saved as /etc/pam.d/login.rpmsave

      Updating       : kpartx                                                                                    5/33

      Installing     : libXp                                                                                     6/33

      Updating       : kexec-tools                                                                               7/33

      Installing     : iscsi-initiator-utils                                                                     8/33

      Updating       : irqbalance                                                                                9/33

      Installing     : device-mapper-multipath-libs                                                             10/33

      Updating       : device-mapper-multipath                                                                  11/33

      Installing     : oraclelinux-release                                                                      12/33

      Installing     : ql2xxx-firmware                                                                          13/33

      Updating       : nash                                                                                     14/33

      Installing     : kernel-uek-firmware                                                                      15/33

      Installing     : libaio-devel                                                                             16/33

      Updating       : e2fsprogs-devel                                                                          17/33

      Updating       : mkinitrd                                                                                 18/33

      Installing     : kernel-uek                                                                               19/33

      Updating       : libbdevid-python                                                                         20/33

      Installing     : oracle-validated                                                                         21/33

      Cleanup        : e2fsprogs                                                                                22/33

      Cleanup        : mkinitrd                                                                                 23/33

      Cleanup        : irqbalance                                                                               24/33

      Cleanup        : e2fsprogs-libs                                                                           25/33

      Cleanup        : device-mapper-multipath                                                                  26/33

      Cleanup        : libbdevid-python                                                                         27/33

      Cleanup        : udev                                                                                     28/33

      Cleanup        : e2fsprogs-devel                                                                          29/33

      Cleanup        : kpartx                                                                                   30/33

      Cleanup        : nash                                                                                     31/33

      Cleanup        : kexec-tools                                                                              32/33

      Cleanup        : util-linux                                                                               33/33

    Installed:

      oracle-validated.i386 0:1.1.0-18.el5                                                                           

    Dependency Installed:

      device-mapper-multipath-libs.i386 0:0.4.9-64.0.6.el5     iscsi-initiator-utils.i386 0:6.2.0.872-16.0.1.el5     

      kernel-uek.i686 0:2.6.32-400.33.1.el5uek                 kernel-uek-firmware.noarch 0:2.6.32-400.33.1.el5uek   

      libXp.i386 0:1.0.0-8.1.el5                               libaio-devel.i386 0:0.3.106-5                         

      oraclelinux-release.i386 0:5-10.0.2                      ql2xxx-firmware.noarch 0:1.01.01-0.5.el5              

    Updated:

      udev.i386 0:095-14.29.0.2.el5                                                                                  

    Dependency Updated:

      device-mapper-multipath.i386 0:0.4.9-64.0.6.el5          e2fsprogs.i386 0:1.39-36.0.1.el5_9                    

      e2fsprogs-devel.i386 0:1.39-36.0.1.el5_9                 e2fsprogs-libs.i386 0:1.39-36.0.1.el5_9               

      irqbalance.i386 2:0.55-17.el5                            kexec-tools.i386 0:2.0.3-4.0.4.el5                    

      kpartx.i386 0:0.4.9-64.0.6.el5                           libbdevid-python.i386 0:5.1.19.6-81.0.2.el5_10        

      mkinitrd.i386 0:5.1.19.6-81.0.2.el5_10                   nash.i386 0:5.1.19.6-81.0.2.el5_10                    

      util-linux.i386 0:2.13-0.59.0.2.el5_8                  

    Complete!

    [root@oel5 yum.repos.d]#


    [root@oel5 yum.repos.d]# rpm -qa |grep oracle-valid

    oracle-validated-1.1.0-18.el5


    Thnaks ..




  • 7. Re: Should i update required packages  separately using  yum ??
    Pradeepcmst Journeyer
    Currently Being Moderated

    Hi,

    It seems like yum has installed oracle-validated packages along with their dependencies. So when you start the installer, it will say any missing packages if you still have some..

     

     

    Regards,

    Pradeep. V

Legend

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