Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Yum update OEL6: libstdc++ Package fails

1969151Mar 10 2014 — edited Mar 20 2014

Hello,

I am having an issue updating Oracle LInux 6 servers, using Spacewalk or running "yum update" locally.  Here is error:

Error:  Multilib version problems found. This often means that the root

       cause is something else and multilib version checking is just

       pointing out that there is a problem. Eg.:

      

         1. You have an upgrade for libstdc++ which is missing some

            dependency that another package requires. Yum is trying to

            solve this by installing an older version of libstdc++ of the

            different architecture. If you exclude the bad architecture

            yum will tell you what the root cause is (which package

            requires what). You can try redoing the upgrade with

            --exclude libstdc++.otherarch ... this should give you an error

            message showing the root cause of the problem.

      

         2. You have multiple architectures of libstdc++ installed, but

            yum can only see an upgrade for one of those arcitectures.

            If you don't want/need both architectures anymore then you

            can remove the one with the missing update and everything

            will work.

      

         3. You have duplicate versions of libstdc++ installed already.

            You can use "yum check" to get yum show these errors.

      

       ...you can also use --setopt=protected_multilib=false to remove

       this checking, however this is almost never the correct thing to

       do as something else is very likely to go wrong (often causing

       much more problems).

      

       Protected multilib versions: libstdc++-4.4.6-3.el6.i686 != libstdc++-4.4.7-4.el6.x86_64

Error: Protected multilib versions: libstdc++-devel-4.4.6-3.el6.i686 != libstdc++-devel-4.4.7-4.el6.x86_64

So I checked and all I have installed are:

libstdc++-x86_64

libstdc++-devel-x86_64

compat-libstdc++-33-x86_64

When I run yum update  --exclude libstdc++.i686, I get the following:

Error: Package: gcc-c++-4.4.6-3.el6.x86_64 (installed)

           Requires: libstdc++ = 4.4.6-3.el6

           Removing: libstdc++-4.4.6-3.el6.x86_64 (installed)

               libstdc++ = 4.4.4-15.el6

               libstdc++ = 4.4.6-3.el6

           Updated By: libstdc++-4.4.7-4.el6.x86_64 (oel6-x86_64)

               libstdc++ = 4.4.4-15.el6

               libstdc++ = 4.4.7-4.el6

           Available: libstdc++-4.4.4-13.el6.x86_64 (oel6-x86_64)

               libstdc++ = 4.4.4-13.el6

           Available: libstdc++-4.4.5-6.el6.x86_64 (oel6-x86_64)

               libstdc++ = 4.4.4-15.el6

               libstdc++ = 4.4.5-6.el6

           Available: libstdc++-4.4.6-4.el6.x86_64 (oel6-x86_64)

               libstdc++ = 4.4.4-15.el6

               libstdc++ = 4.4.6-4.el6

           Available: libstdc++-4.4.7-3.el6.x86_64 (oel6-x86_64)

               libstdc++ = 4.4.4-15.el6

               libstdc++ = 4.4.7-3.el6

Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (oel6-x86_64)

           Requires: libstdc++.so.6

Error: Package: libstdc++-devel-4.4.6-3.el6.i686 (oel6-x86_64)

           Requires: libstdc++(x86-32) = 4.4.6-3.el6

I am new to Oracle, so not sure why it needs libstdc++-devel-4.4.6-3.el6.i686... Can anyone offer some suggestions?

Cheers

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2014
Added on Mar 10 2014
2 comments
12,778 views