Oracle – How to Use Installation Prerequisites on Redhat Linux 6.5

linuxoracle

Today I get error below when install Oracle 11gR2 on Redhat Linux 6.5.

I follow instruction in this link: http://public-yum.oracle.com/

After I call this command:

# yum install oracle-rdbms-server-11gR2-preinstall

=> ok

# yum update

=> I got these errors:

...
--> Finished Dependency Resolution

Error: Package: libreport-2.0.9-19.el6.i686 (rhel-x86_64-server-6)
           Requires: libreport-python = 2.0.9-19.el6
           Removing: libreport-python-2.0.9-19.el6.x86_64 (@rhel-x86_64-server-6)
               libreport-python = 2.0.9-19.el6
           Updated By: libreport-python-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
               libreport-python = 2.0.9-19.0.1.el6
           Available: libreport-python-2.0.5-20.el6.x86_64 (rhel-x86_64-server-6)
               libreport-python = 2.0.5-20.el6
           Available: libreport-python-2.0.5-20.0.1.el6.x86_64 (ol6_latest)
               libreport-python = 2.0.5-20.0.1.el6
           Available: libreport-python-2.0.9-5.el6.x86_64 (rhel-x86_64-server-6)
               libreport-python = 2.0.9-5.el6
           Available: libreport-python-2.0.9-5.el6_3.2.x86_64 (rhel-x86_64-server-6)
               libreport-python = 2.0.9-5.el6_3.2
           Available: libreport-python-2.0.9-5.0.1.el6.x86_64 (ol6_latest)
               libreport-python = 2.0.9-5.0.1.el6
           Available: libreport-python-2.0.9-5.0.1.el6_3.2.x86_64 (ol6_latest)
               libreport-python = 2.0.9-5.0.1.el6_3.2
           Available: libreport-python-2.0.9-15.el6.x86_64 (rhel-x86_64-server-6)
               libreport-python = 2.0.9-15.el6
           Available: libreport-python-2.0.9-15.el6_4.1.x86_64 (rhel-x86_64-server-6)
               libreport-python = 2.0.9-15.el6_4.1
           Available: libreport-python-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
               libreport-python = 2.0.9-15.0.1.el6
           Available: libreport-python-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
               libreport-python = 2.0.9-15.0.1.el6_4.1
Error: Package: libreport-2.0.9-19.el6.i686 (rhel-x86_64-server-6)
           Requires: libreport-compat = 2.0.9-19.el6
           Removing: libreport-compat-2.0.9-19.el6.x86_64 (@rhel-x86_64-server-6)
               libreport-compat = 2.0.9-19.el6
           Updated By: libreport-compat-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
               libreport-compat = 2.0.9-19.0.1.el6
           Available: libreport-compat-2.0.9-15.el6.x86_64 (rhel-x86_64-server-6)
               libreport-compat = 2.0.9-15.el6
           Available: libreport-compat-2.0.9-15.el6_4.1.x86_64 (rhel-x86_64-server-6)
               libreport-compat = 2.0.9-15.el6_4.1
           Available: libreport-compat-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
               libreport-compat = 2.0.9-15.0.1.el6
           Available: libreport-compat-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
               libreport-compat = 2.0.9-15.0.1.el6_4.1
Error: Package: libreport-2.0.9-19.el6.i686 (rhel-x86_64-server-6)
           Requires: libreport-plugin-reportuploader = 2.0.9-19.el6
           Removing: libreport-plugin-reportuploader-2.0.9-19.el6.x86_64 (@rhel-x86_64-server-6)
               libreport-plugin-reportuploader = 2.0.9-19.el6
           Updated By: libreport-plugin-reportuploader-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
               libreport-plugin-reportuploader = 2.0.9-19.0.1.el6
           Available: libreport-plugin-reportuploader-2.0.5-20.el6.x86_64 (rhel-x86_64-server-6)
               libreport-plugin-reportuploader = 2.0.5-20.el6
           Available: libreport-plugin-reportuploader-2.0.5-20.0.1.el6.x86_64 (ol6_latest)
               libreport-plugin-reportuploader = 2.0.5-20.0.1.el6
           Available: libreport-plugin-reportuploader-2.0.9-5.el6.x86_64 (rhel-x86_64-server-6)
               libreport-plugin-reportuploader = 2.0.9-5.el6
           Available: libreport-plugin-reportuploader-2.0.9-5.el6_3.2.x86_64 (rhel-x86_64-server-6)
               libreport-plugin-reportuploader = 2.0.9-5.el6_3.2
           Available: libreport-plugin-reportuploader-2.0.9-5.0.1.el6.x86_64 (ol6_latest)
               libreport-plugin-reportuploader = 2.0.9-5.0.1.el6
           Available: libreport-plugin-reportuploader-2.0.9-5.0.1.el6_3.2.x86_64 (ol6_latest)
               libreport-plugin-reportuploader = 2.0.9-5.0.1.el6_3.2
           Available: libreport-plugin-reportuploader-2.0.9-15.el6.x86_64 (rhel-x86_64-server-6)
               libreport-plugin-reportuploader = 2.0.9-15.el6
           Available: libreport-plugin-reportuploader-2.0.9-15.el6_4.1.x86_64 (rhel-x86_64-server-6)
               libreport-plugin-reportuploader = 2.0.9-15.el6_4.1
           Available: libreport-plugin-reportuploader-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
               libreport-plugin-reportuploader = 2.0.9-15.0.1.el6
           Available: libreport-plugin-reportuploader-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
               libreport-plugin-reportuploader = 2.0.9-15.0.1.el6_4.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Thanks in advance.

Best Answer

This instruction is for Oracle Linux. And you are using Red Hat Enterprise Linux. Even though Oracle Linux is compiled from RHEL sources but they have separate base repositories.

You will have to resolve dependencies manually. I tried to download preinstall RPM and install it with yum but it requires kernel-uek RPM which is not available on RHEL.

Even if I am not the fan of what Oracle does with RHEL but for Oracle databases I switched from RHEL to Oracle Linux. Less resistance this way. Oracle ASM kernel modules are not available for RHEL and Flash Cache feature is available only on Oracle Linux.