troubleshooting Question

yum install error

Avatar of duncanb7
duncanb7 asked on
LinuxCC++
18 Comments1 Solution5118 ViewsLast Modified:
Dear Experts,

I install one package of hiphop by the following command on my linux CentOS(64-bit)

sudo yum install http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
cd /etc/yum.repos.d
sudo wget http://www.hop5.in/yum/el6/hop5.repo
sudo yum install hiphop-php

During yum install hiphop-php

it reports errors  attached in area code

What is that meaning about gcc stdc library error  about

Protected multilib versions: libstdc++-4.6.3-2.el6.x86_64 != libstdc++-4.4.7-3.el6.i686
Error: Protected multilib versions: libgcc-4.6.3-2.el6.x86_64 != libgcc-4.4.7-3.el6.i686

x86_64 is same i686, right ?
why I can not find out the file location of libstdc++-4.6.3-2.el6.x86_64
I check at /usr/lib, there are are two files onlys for libstdc
root@vps# ls /usr/lib/libstdc*

libstdc++.so.6@  
libstdc++.so.6.0.13*

Please advise all my question and how to fix it ? I am using gcc-4.8.0 version


Error:  after yum install hiphop
---> Package libgomp.x86_64 0:4.6.3-2.el6 will be an update
---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be updated
---> Package libtool.x86_64 0:2.4-9.el6 will be an update
--> Finished Dependency Resolution
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.6.3-2.el6.x86_64 != libstdc++-4.4.7-3.el6.i686
Error: Protected multilib versions: libgcc-4.6.3-2.el6.x86_64 != libgcc-4.4.7-3.el6.i686
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
ASKER CERTIFIED SOLUTION
Seth Simmons
Lead Systems Administrator

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 18 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros