Public yum package ‘oracle-validated’ problems on 64bit OEL

I was preparing some fresh installed OEL5.5 machines for database software installation, but after running ‘yum install oracle-validated‘, the OUI did not pass the prerequisites on two packages. It seems it did not install unixODBC-devel x86_64 and libaio-devel x86_64.

Their Linux may be unbreakable, but their ‘oracle-validated’ package on the public yum server seemed to be broken.

Public yum repository

The following output is produced after running ‘yum install oracle-validated’:

Dependencies Resolved

 Package                       Arch    Version         Repository    Size
 oracle-validated              x86_64  1.0.0-22.el5    el5_u5_base   16 k
Installing for dependencies:
 compat-db                     x86_64  4.2.52-5.1      el5_u5_base  1.6 M
 compat-gcc-34                 x86_64  3.4.6-4         el5_u5_base  4.4 M
 compat-gcc-34-c++             x86_64  3.4.6-4         el5_u5_base   13 M
 elfutils-libelf-devel         x86_64  0.137-3.el5     el5_u5_base   24 k
 elfutils-libelf-devel-static  x86_64  0.137-3.el5     el5_u5_base   64 k
 gcc                           x86_64  4.1.2-48.el5    el5_u5_base  5.3 M
 gcc-c++                       x86_64  4.1.2-48.el5    el5_u5_base  3.8 M
 gdb                           x86_64  7.0.1-23.el5    el5_u5_base  2.3 M
 glibc-devel                   i386    2.5-49          el5_u5_base  2.0 M
 glibc-devel                   x86_64  2.5-49          el5_u5_base  2.4 M
 glibc-headers                 x86_64  2.5-49          el5_u5_base  605 k
 kernel-headers                x86_64  2.6.18-194.el5  el5_u5_base  1.1 M
 libXp                         i386    1.0.0-8.1.el5   el5_u5_base   22 k
 libaio-devel                  i386    0.3.106-5       el5_u5_base   12 k
 libgomp                       x86_64  4.4.0-6.el5     el5_u5_base   68 k
 libstdc++-devel               x86_64  4.1.2-48.el5    el5_u5_base  2.8 M
 sysstat                       x86_64  7.0.2-3.el5     el5_u5_base  174 k
 unixODBC                      i386    2.2.11-7.1      el5_u5_base  830 k
 unixODBC                      x86_64  2.2.11-7.1      el5_u5_base  835 k
 unixODBC-devel                i386    2.2.11-7.1      el5_u5_base  743 k

Transaction Summary
Install      21 Package(s)
Upgrade       0 Package(s)

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

See Oracle validated RPM for more info on oracle-validated on the public yum server.

DVD repository

Lets compare this with the Enterprise Linux DVD yum repository:

Dependencies Resolved

 Package                       Arch    Version       Repository        Size
 oracle-validated              x86_64  1.0.0-22.el5  DVD-OEL-Server   16 k
Installing for dependencies:
 compat-db                     x86_64  4.2.52-5.1    DVD-OEL-Server  1.6 M
 compat-gcc-34                 x86_64  3.4.6-4       DVD-OEL-Server  4.4 M
 compat-gcc-34-c++             x86_64  3.4.6-4       DVD-OEL-Server   13 M
 elfutils-libelf-devel         x86_64  0.137-3.el5   DVD-OEL-Server   24 k
 elfutils-libelf-devel-static  x86_64  0.137-3.el5   DVD-OEL-Server   64 k
 gcc                           x86_64  4.1.2-48.el5  DVD-OEL-Server  5.3 M
 gcc-c++                       x86_64  4.1.2-48.el5  DVD-OEL-Server  3.8 M
 gdb                           x86_64  7.0.1-23.el5  DVD-OEL-Server  2.3 M
 glibc-devel                   i386    2.5-49        DVD-OEL-Server  2.0 M
 glibc-devel                   x86_64  2.5-49        DVD-OEL-Server  2.4 M
 glibc-headers                 x86_64  2.5-49        DVD-OEL-Server  605 k
 kernel-headers                x86_64  2.6.18-194.e  DVD-OEL-Server  1.1 M
 libXp                         i386    1.0.0-8.1.el  DVD-OEL-Server   22 k
 libaio-devel                  i386    0.3.106-5     DVD-OEL-Server   12 k
 libaio-devel                  x86_64  0.3.106-5     DVD-OEL-Server   11 k
 libgomp                       x86_64  4.4.0-6.el5   DVD-OEL-Server   68 k
 libstdc++-devel               x86_64  4.1.2-48.el5  DVD-OEL-Server  2.8 M
 sysstat                       x86_64  7.0.2-3.el5   DVD-OEL-Server  174 k
 unixODBC                      i386    2.2.11-7.1    DVD-OEL-Server  830 k
 unixODBC                      x86_64  2.2.11-7.1    DVD-OEL-Server  835 k
 unixODBC-devel                i386    2.2.11-7.1    DVD-OEL-Server  743 k
 unixODBC-devel                x86_64  2.2.11-7.1    DVD-OEL-Server  799 k

Transaction Summary
Install      23 Package(s)
Upgrade       0 Package(s)

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

The two packages unixODBC-devel x86_64 and libaio-devel x86_64 do now appear in the dependencies list! I don’t know what is going wrong, but there seems a difference in the public yum and DVD repository!

Configure DVD repository

When you want to configure the DVD repository, point the baseurl of the ‘/etc/yum.repo.d/whatever.repo’ file to the file location of the DVD repository:

name=Oracle Enterprise Linux $releasever - $basearch

Update the repository list:

$> yum clean all
$> yum repolist

Checking RPM’s

An other problem I ran into was checking the packages for architecture. ‘rpm -qa’ does not show architecture… it will spit out only the package name twice, but without i386 and x86_64. Try the following command:

rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n"

Strange that this is necessary nowadays with 64bit systems…

Tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.