Solved

Linux, yum questions

Posted on 2013-11-26
4
1,145 Views
Last Modified: 2013-11-29
I am trying to perform this:

yum install libstdc++.so.6

Open in new window



But I get the following response

       Protected multilib versions: libstdc++-4.4.7-4.el6.i686 != libstdc++-4.4.7-3.el6.x86_64
 You could try using --skip-broken to work around the problem

Open in new window


The 'skip-broken' flag did not work

How can I resolve this.

Should I remove one of the packages, and if so which one ?

Thanks
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Expert Comment

by:xterm
ID: 39679397
If you're doing this is as a prerequisite for some software then I think the package you want is actually called compat-libstdc++

What distribution and version are you running?
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39679404
try yum install libstdc++.so.6.x86_64
0
 
LVL 19

Expert Comment

by:xterm
ID: 39679423
Ah yeah, that will probably do it... nice catch Mazdajai
0
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 39679838
libstdc++.so.6.x86_64 is not a valid package

the reason for that error is because it's trying to install the 32-bit version but you have a 64bit package that is one version previous and doesn't match.  you can't have 32bit and 64bit versions that don't match like that (4.4.7-3 vs. 4.4.7-4)

i'm curious as to where 4.4.7-4 is coming from since the latest in the CentOS repository is 4.4.7-3.  you can't remove the 64bit 4.4.7-3 since many packages depend on it.  you might have another repository configured that is seeing 4.4.7-4

if you just need the 32bit version of this package, then you need to do...

yum install libstdc++-4.4.7-3.el6.i686
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question