1

I'm on a 64-bit Amazon Linux machine.

I had previously installed mysql-server 5.5. (using sudo yum install) However, I soon found out that my application requires MySql-serve 5.6.

So I uninstalled mysql-server 5.5. (using sudo yum remove mysql-server) and now I'm following these instruction to install mysql-server 5.6.

But I'm running into a problem.

when I try to do the second install, I get the following 2 errors:

file /usr/lib64/mysql/libmysqlclient.so.18 from install of mysql-community-libs-5.6.14-3.el6.x86_64 conflicts with file from package mysql55-libs-5.5.46-1.10.amzn1.x86_64
file /etc/my.cnf from install of mysql-community-server-5.6.14-3.el6.x86_64 conflicts with file from package mysql-config-5.5.46-1.10.amzn1.x86_64

Why on earth am I getting these two errors? How do I fix them? I removed mysql-server-5.5, so why is it conflicting with 5.6?

I did ls on /etc/my.cnf and /usr/lib64/mysql/libmysqlclient.so.18 and the files don't even exist!! If the files don't exist how can they be conflicting with other files?? Who can help explain this?

6
  • The messages name the specific packages in conflict. Apr 2, 2016 at 15:45
  • @MichaelHampton Yes, I know. But why am I getting it since I removed mysql-5.5? And how can I fix it?
    – Saqib Ali
    Apr 2, 2016 at 23:09
  • Because you didn't remove the conflicting packages! Apr 2, 2016 at 23:11
  • I did remove one of the conflicting package. See the following from the original post: "I uninstalled mysql-server 5.5. (using sudo yum remove mysql-server)"
    – Saqib Ali
    Apr 3, 2016 at 3:31
  • 1
    You probably need to remove mysql-client as well. I would 'sudo yum list installed | grep mysql' and see if there are any other mysql packages installed.
    – Doug
    Apr 3, 2016 at 14:19

1 Answer 1

5

@Doug's answer helped me solve it:

You probably need to remove mysql-client as well. I would 'sudo yum list installed | grep mysql' and see if there are any other mysql packages installed.

1
  • Yes, those pesky clients will get you every time.
    – Doug
    Apr 3, 2016 at 17:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .