8 Replies Latest reply: Jul 21, 2013 8:57 PM by Shawn S-Oracle RSS

    Oracle linux 6.1 update issue

    Jagadeesh.P.B
      I have created a virtual VM based on oracle 6.1 ISO. Now when I try to update through yum update, I get the below error
      "file /lib/firmware/isci/isci_firmware.bin from install of kernel-firmware-2.6.32-358.6.2.el6.noarch conflicts with file from package kernel-uek-firmware-2.6.32-100.34.1.el6uek.noarch"
      Anybody knows how to resolve this issue?
        • 1. Re: Oracle linux 6.1 update issue
          alvaromiranda
          hello,

          are 3 different kernels, in 2 different repos

          Let me explain.

          on the latest channel, you will have, kernel-firmware from the redhat compatible kernel, kernel-uek-firmware from the kernel-uek (old one, 2.6.32-NNN)

          in a separate channel, will be, kernel-uek-*-2.6.39-NNN, being the NNN today 400

          so, check on the /etc/yum.conf.d/<file>.repo be sure "latest" and "UEK_latest" are enabled

          Then, do:

          yum clean all

          yum update kernel-uek*

          yum update




          If still gets error, provide the output of:

          uname -a

          rpm -qa | grep kernel

          yum update -y kernel*

          (all the output generated)

          Alvaro.
          • 2. Re: Oracle linux 6.1 update issue
            Catch 22
            What is the output of the following:

            ls /etc/yum.repos.d
            • 3. Re: Oracle linux 6.1 update issue
              Jagadeesh.P.B
              [root@tfdevvm oracle]# ls /etc/yum.repos.d
              adobe-linux-i386.repo google.repo public-yum-ol6.repo
              google-chrome.repo google.repo~ public-yum-ol6.repo.rpmnew
              • 4. Re: Oracle linux 6.1 update issue
                Jagadeesh.P.B
                I checked the repo and both the latest versions of 6 are enabled
                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

                [ol6_UEK_latest]
                name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
                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=1

                Others are disabed. I tried the steps given by Alvaro Miranda      
                yum clean all
                yum update kernel-uek*

                After this when I try yum update, I finally end up with the same original error.

                Some informations are below

                [root@tfdevvm oracle]# ls /etc/yum.repos.d
                adobe-linux-i386.repo google.repo public-yum-ol6.repo
                google-chrome.repo google.repo~ public-yum-ol6.repo.rpmnew

                [root@tfdevvm oracle]# uname -a
                Linux tfdevvm 2.6.39-400.24.1.el6uek.x86_64 #1 SMP Wed May 15 11:46:52 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

                [root@tfdevvm oracle]# rpm -qa | grep kernel
                kernel-uek-devel-2.6.32-100.34.1.el6uek.x86_64
                kernel-uek-2.6.39-400.24.1.el6uek.x86_64
                kernel-uek-firmware-2.6.39-400.24.1.el6uek.noarch
                kernel-uek-devel-2.6.39-400.24.1.el6uek.x86_64
                kernel-firmware-2.6.32-131.0.15.el6.noarch
                abrt-addon-kerneloops-1.1.16-3.0.1.el6.x86_64
                kernel-2.6.32-131.0.15.el6.x86_64
                kernel-uek-firmware-2.6.32-100.34.1.el6uek.noarch
                dracut-kernel-004-303.0.1.el6.noarch
                kernel-uek-headers-2.6.32-400.26.2.el6uek.x86_64
                kernel-uek-2.6.32-100.34.1.el6uek.x86_64

                [root@tfdevvm oracle]# yum update -y kernel*
                Loaded plugins: refresh-packagekit
                Repository google-chrome is listed more than once in the configuration
                Setting up Update Process
                Resolving Dependencies
                --> Running transaction check
                ---> Package kernel.x86_64 0:2.6.32-358.6.2.el6 will be installed
                ---> Package kernel-firmware.noarch 0:2.6.32-131.0.15.el6 will be updated
                ---> Package kernel-firmware.noarch 0:2.6.32-358.6.2.el6 will be an update
                --> Processing Conflict: kernel-2.6.32-358.6.2.el6.x86_64 conflicts bfa-firmware < 3.0.3.1
                --> Restarting Dependency Resolution with new changes.
                --> Running transaction check
                ---> Package bfa-firmware.noarch 0:2.3.2.3-1.el6 will be updated
                ---> Package bfa-firmware.noarch 0:3.0.3.1-1.el6 will be an update
                --> Finished Dependency Resolution

                Dependencies Resolved

                =============================================================================================================================================================================================================================================
                Package Arch Version Repository Size
                =============================================================================================================================================================================================================================================
                Installing:
                kernel x86_64 2.6.32-358.6.2.el6 ol6_latest 26 M
                Updating:
                bfa-firmware noarch 3.0.3.1-1.el6 ol6_latest 723 k
                kernel-firmware noarch 2.6.32-358.6.2.el6 ol6_latest 11 M

                Transaction Summary
                =============================================================================================================================================================================================================================================
                Install 1 Package(s)
                Upgrade 2 Package(s)

                Total size: 38 M
                Downloading Packages:
                Running rpm_check_debug
                Running Transaction Test


                Transaction Check Error:
                file /lib/firmware/isci/isci_firmware.bin from install of kernel-firmware-2.6.32-358.6.2.el6.noarch conflicts with file from package kernel-uek-firmware-2.6.32-100.34.1.el6uek.noar

                Edited by: 970393 on Jun 7, 2013 2:54 AM
                • 5. Re: Oracle linux 6.1 update issue
                  alvaromiranda
                  Hello,

                  Thanks for the output

                  from uname, i can see you are on the latest kernel-uek-2.6.39-400 which is good.

                  From rpm -qa | grep kernel, you have too many kernels, so you are safe to remove the ones you are not using.

                  rpm -e kernel-firmware-2.6.32-131.0.15.el6.noarch
                  rpm -e kernel-2.6.32-131.0.15.el6.x86_64
                  rpm -e kernel-uek-2.6.32-100.34.1.el6uek.x86_64

                  After that, the yum update should work without more issues.

                  Alvaro.
                  • 6. Re: Oracle linux 6.1 update issue
                    Jagadeesh.P.B
                    When I do, rpm -e kernel-2.6.32-131.0.15.el6.x86_64 I get the below errors
                    [root@tfdevvm oracle]# rpm -e kernel-2.6.32-131.0.15.el6.x86_64
                    error: Failed dependencies:
                         kernel >= 2.6.29.1-52.fc11 is needed by (installed) libdrm-2.4.23-1.el6.x86_64
                         kernel >= 2.6.32-33.el6 is needed by (installed) xorg-x11-drv-intel-2.14.0-1.el6.x86_64
                         kernel >= 2.6.29.1-111.fc11 is needed by (installed) xorg-x11-drv-ati-6.13.0-6.el6.x86_64
                         kernel >= 2.6.14 is needed by (installed) fuse-2.8.3-1.el6.x86_64
                         kernel >= 2.6.9-11 is needed by (installed) systemtap-runtime-1.4-6.0.1.el6.x86_64
                         kernel >= 2.6.12-1.1411_FC5 is needed by (installed) pcmciautils-015-4.2.el6.x86_64
                         kernel >= 2.6.17 is needed by (installed) autofs-1:5.0.5-31.el6.x86_64
                         kernel >= 2.6.30 is needed by (installed) pulseaudio-0.9.21-14.el6_3.x86_64
                         kernel-drm-nouveau = 16 is needed by (installed) xorg-x11-drv-nouveau-1:0.0.16-9.20110107gitb795ca6.el6.x86_64
                    • 7. Re: Oracle linux 6.1 update issue
                      Catch 22
                      I think what happens here is that you have packages installed that are not intended for EL6, e.g. FC5, FC11, and/or for which the OL6 public repository has no info and therefore aborts in order not to break your system. That's why I was asking to see a list of your configured YUM repositories.

                      How and why did you install these packages? If you were trying to fix some audio issues, note that these are typically solved by installing the virtual machine or vmware guest additions. I think your best course of action is to simply reinstall the system using the latest OL 6.4 ISO, which only takes a few minutes, and forget about trying to solve this issue.
                      • 8. Re: Oracle linux 6.1 update issue
                        Shawn S-Oracle

                        I ran into the same problem and the packages came in question came from the install ISO.  The issue is that the "stock" kernel updates are excluded from update via YUM.  Go to the /etc/yum.conf and comment out the line below.  Then try the yum update kernel-uek* followed by the yum update and see if that fixes it.

                         

                        exclude=kernel*


                        Note that this was for OL 6u4 but likely the same.