Solved

Linux, yum questions

Posted on 2013-11-26
4
1,115 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
Comment Utility
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
Comment Utility
try yum install libstdc++.so.6.x86_64
0
 
LVL 19

Expert Comment

by:xterm
Comment Utility
Ah yeah, that will probably do it... nice catch Mazdajai
0
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now