Solved

Linux, yum questions

Posted on 2013-11-26
4
1,131 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
  • 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 34

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

786 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