Removing conflicting libraries
I just installed Centos 6.4.
I then tried to install MySQL 5.6, but get the following error: Code:
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.12-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.66-2.el6_3.x86_64 Code:
[root@centosBox src]# rpm -qa | grep -i mysql Thanks |
How are you trying to install mysql server? Have you messed with your yum repository list?
|
Quote:
Code:
# rpm -ivh MySQL-server-5.6.12.1.el6.x86x64.rpm Quote:
I apparently removed can remove the lib doing: Code:
rpm –nodeps -e mysql-libs |
Why aren't you using yum to install the packages? Your problem is you're trying to install a mysql server that is not compatible with the library versions that are maintained for your distribution. You should rarely be installing software directly from rpms, or you'll have to deal with problems like this.
Code:
yum install mysql-server Code:
yum update |
Quote:
Quote:
|
When it comes to installing software or libraries, the order should go:
1) try yum 2) if yum doesn't have the package, see if there is a 3rd party repo you can add that would supply it, add the repo, set repo priorities, and then use yum 3) if no repos offer the package, fall back to rpm and manually deal with dependency hell (what you ran into on your first post) 4) if no rpm is available, compile it from source |
Thank you for your help.
I just finished installing Apache and PHP from source :( The documentation for both seems to recommend installing from source. I've often had a difficult time finding a PHP repository of exactly what I wanted. Don't know if there is any value of installing Apache from source. Would you also promote yum for these two applications as well? Thanks |
Many software developers "recommend" compiling from source so that:
1) you have the most current version, and 2) they can provide one set of instructions to cover [nearly] any distribution The disadvantage of compiling from source is that it can sometimes be a major PITA, and once you're done you're stuck with whatever version you compiled/installed until you decide it's time to download/compile/install from source again. This page gives an overview of installing apache and php from yum: http://articles.slicehost.com/2008/2...pache-and-php5 It's basically just a matter of Code:
yum install httpd mod_ssl php php-common |
All times are GMT -5. The time now is 04:35 AM. |