• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved RE: Plesk 12 upgrade failed "Package mysql is obsoleted by mysql"

Hexanet

New Pleskian
This is a follow-up on this problem which I am also having when trying to upgrade from Plesk 11.5.30 to 12.0.18. That resolution does not fix it the issue for me.

I followed the given resolution, removing i386 packages for both mysql and mysql-server with an x86_64 architecture, restarted, and keep having the same error message with:

mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-server-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql-server conflicts with mysql-server
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-server-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql-server conflicts with mysql-server
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-server-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql-server conflicts with mysql-server
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-server-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql-server conflicts with mysql-server
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-server-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql-server conflicts with mysql-server
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-server-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql-server conflicts with mysql-server
Exception: Failed to solve dependencies:
mysql conflicts with mysql
mysql-server conflicts with mysql-server

I also reinstalled mysql-server-5.5.41-27.el5.art.x86_64 with yum reinstall. There are no decencies specified here, so it's hard to know why it would give an error other that the same version being already there as the cause?

I am in need of further support with this issue to be able to upgrade.

Or perhaps is there a safe way to skip the mysql parallels dependencies possibly causing this error, given that mysql is already up to date?
 
Last edited:
What sort of output of following command:

# rpm -qa | grep -i mysql

Have you tried to disable Atomic repository and repeat upgrade procedure?
 
What sort of output of following command:

# rpm -qa | grep -i mysql

Have you tried to disable Atomic repository and repeat upgrade procedure?

Ok thanks. Disabling the Atomic repo did it.
For future reference, here are parts of the related logs.

Before:
# rpm -qa | grep -i mysql
mysql-connector-odbc-3.51.26r1127-2.el5
php-mysql-5.4.37-43.el5.art
mysql-libs-5.5.41-27.el5.art
mysql-devel-5.5.41-27.el5.art
plesk-mysql-5.5-14042516
mysql-server-5.5.41-27.el5.art
libmysqlclient15-5.0.77-4.el5_5.4.14042516
perl-DBD-MySQL-3.0007-2.el5
mysql-5.5.41-27.el5.art

After Plesk 12.0.18 Upgrade:
mysql-libs-5.5.41-15012715
plesk-mysql-5.5-15012715
mysql-devel-5.5.41-15012715
mysql-connector-odbc-3.51.26r1127-2.el5
php-mysql-5.4.37-43.el5.art
mysql-5.5.41-15012715
mysql-server-5.5.41-15012715
libmysqlclient15-5.0.77-4.el5_5.4.15012715
perl-DBD-MySQL-3.0007-2.el5

And this particular mysql notice in the Plesk 12.0.18 install log:
Package mysql is obsoleted by mysql, trying to install mysql-5.5.41-15012715.x86_64 instead
 
I've got the same problem but for me it didn't help to disable the atomic / epel repo's.

Package mysql is obsoleted by mysql, trying to install mysql-5.5.41-15012715.x86_64 instead
Package mysql is obsoleted by mysql, trying to install mysql-5.5.41-15012715.x86_64 instead
Package mysql is obsoleted by mysql, trying to install mysql-5.5.41-15012715.x86_64 instead
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
mysql-5.5.41-15012715.x86_64 from MYSQL_5_5_41-dist has depsolving problems
--> mysql conflicts with mysql
Exception: Failed to solve dependencies:
mysql conflicts with mysql

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

# rpm -qa | grep -i mysql
plesk-mysql-5.5-14042516
perl-DBD-MySQL-3.0007-2.el5
libmysqlclient15-5.0.77-4.el5_5.4.14042516
mysql-5.5.41-27.el5.art
mysql-connector-odbc-3.51.26r1127-2.el5
mysql-libs-5.5.41-27.el5.art
mysql-libs-5.5.41-27.el5.art
mysql-server-5.5.41-27.el5.art
php-mysql-5.4.37-43.el5.art
mysql-5.5.41-27.el5.art
 
You have:

mysql-5.5.41-27.el5.art
mysql-5.5.41-27.el5.art

and

mysql-libs-5.5.41-27.el5.art
mysql-libs-5.5.41-27.el5.art

Looks like it is packages for different architectures (x64 and i386)
Have you tried mentioned solution from http://kb.odin.com/en/123659 ?
 
Yes I did follow that article but it seems that I was too tired that night to realize that I had several packages with i386/x64 installed and only removed one of them....

rpm -qa | grep -i mysql
plesk-mysql-5.5-14042516
perl-DBD-MySQL-3.0007-2.el5
libmysqlclient15-5.0.77-4.el5_5.4.14042516
mysql-5.5.41-27.el5.art
mysql-connector-odbc-3.51.26r1127-2.el5
mysql-libs-5.5.41-27.el5.art
mysql-server-5.5.41-27.el5.art
php-mysql-5.4.37-43.el5.art

Removed all the other i386 packages and now I have to wait what the update routine will tell me.
 
If you have to install mysql from atomic or any other repo you have to remove plesk-mysql package:

yum remove plesk-mysql
 
How can I check if mysql has been installed from atomic or not?
Run command

# rpm -qa | grep mysql

and look at the name of mysql related packages. If 'art' prefix exists in package name - this package from Atomic repository.
 
Back
Top