ius-community team mailing list archive
-
ius-community team
-
Mailing list archive
-
Message #00624
Re: perl-DBD-mysql dependancy problem
On 05/20/2013 04:49 AM, Henrik Hudson wrote:
So, I have a new VPS with CentOS 6.4 and I'm trying to pull in the
mysql55-* packages.
I can remove postfix and install / replace mysql with mysql55.
However, if I try to install myql55-server I get the following:
--> Running transaction check
---> Package mysql55-server.x86_64 0:5.5.31-1.ius.el5 will be
installed
--> Processing Dependency: mysql55-libs = 5.5.31-1.ius.el5 for
package: mysql55-server-5.5.31-1.ius.el5.x86_64
--> Processing Dependency: mysql55 = 5.5.31-1.ius.el5 for package:
mysql55-server-5.5.31-1.ius.el5.x86_64
--> Processing Dependency: perl-DBD-MySQL for package:
mysql55-server-5.5.31-1.ius.el5.x86_64
--> Running transaction check
---> Package mysql55.x86_64 0:5.5.31-1.ius.el5 will be installed
---> Package mysql55-libs.x86_64 0:5.5.31-1.ius.el5 will be
installed
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
--> Processing Conflict: mysql55-5.5.31-1.ius.el5.x86_64 conflicts
mysql < 5.5
--> Processing Conflict: mysql55-libs-5.5.31-1.ius.el5.x86_64
conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: mysql55 conflicts with mysql-5.1.69-1.el6_4.x86_64
Error: mysql55-libs conflicts with mysql-libs-5.1.69-1.el6_4.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
If I re-install mysql, mysql-libs and postfix and use the yum
replace mysql --replace-with mysql55 it still tries to remove
postfix due to dependancy check for mysql-libs.
It seems like mysql55-libs doesn't seem to provide mysql-libs.
Any ideas?
henrik
Hello Henrik,
Thanks for taking the time to contact IUS about this issue. Looking
over the yum output you provided, it appears that you are attempting to
install el5 packages on a CentOS 6 server. First, I would double check
the yum configuration for IUS. You might also want to consider using
our new CentOS repos althought RHEL package will work as well, see:
http://iuscommunity.org/pages/WhatIsHappeningInTheCommunity.html#centos-packages-in-ius-community-repositories
In regards to upgrading mysql to mysql55 on RHEL/CentOS 6, please see
http://iuscommunity.org/pages/IUSClientUsageGuide.html?highlight=mysql#upgrading-stock-rhel-packages-to-ius-packages
In regards to the mysql55-libs packages, I can confirm it does provide
mysql-libs:
# rpm -qp --provides
http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/mysql55-libs-5.5.31-1.ius.el6.x86_64.rpm
|grep mysql-libs
config(mysql-libs) = 5.5.31-1.ius.el6
mysql-libs = 5.5.31-1.ius.el6
# rpm -qp --provides
http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/mysql55-libs-5.5.31-1.ius.centos6.x86_64.rpm
|grep mysql-libs
config(mysql-libs) = 5.5.31-1.ius.centos6
mysql-libs = 5.5.31-1.ius.centos6
# rpm -qp --provides
http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/mysql55-libs-5.5.31-1.ius.el5.x86_64.rpm
|grep mysql-libs
config(mysql-libs) = 5.5.31-1.ius.el5
mysql-libs = 5.5.31-1.ius.el5
# rpm -qp --provides
http://dl.iuscommunity.org/pub/ius/stable/CentOS/5/x86_64/mysql55-libs-5.5.31-1.ius.centos5.x86_64.rpm
|grep mysql-libs
config(mysql-libs) = 5.5.31-1.ius.centos5
mysql-libs = 5.5.31-1.ius.centos5
Ben Harper
OS Deployment Services, RPMDEV
Rackspace Hosting & IUS Community
References