ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #01136
Re: [Question #177453]: Installing IUS package :Failed dependencies
Question #177453 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/177453
Status: Answered => Open
Soonho Kim is still having a problem:
Dear Jeffrey;
I found the command for removing (yum remove packpage name). Then, I removed the package.
Then, I tried to restall IUS (yum install php52-mysql).
Then, I got the following message:
============
root@ip-173-201-34-240 [~]# yum install php52-mysql
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* epel: mirrors.solfo.com
* ius: pancks.sothatswhy.org.uk
addons | 951 B 00:00
base | 1.1 kB 00:00
epel | 3.7 kB 00:00
extras | 2.1 kB 00:00
ius | 2.2 kB 00:00
update | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php52-mysql.i386 0:5.2.17-2.ius.el5 set to be updated
--> Processing Dependency: php52-common = 5.2.17-2.ius.el5 for package: php52-mysql
--> Processing Dependency: libmysqlclient.so.15 for package: php52-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php52-mysql
--> Processing Dependency: php52-pdo for package: php52-mysql
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: perl(DBI) for package: mysql
---> Package php52-common.i386 0:5.2.17-2.ius.el5 set to be updated
--> Processing Dependency: php52 = 5.2.17-2.ius.el5 for package: php52-common
---> Package php52-pdo.i386 0:5.2.17-2.ius.el5 set to be updated
--> Running transaction check
---> Package perl-DBI.i386 0:1.52-2.el5 set to be updated
---> Package php52.i386 0:5.2.17-2.ius.el5 set to be updated
--> Processing Dependency: httpd-mmn = 20051115 for package: php52
--> Processing Dependency: php52-cli = 5.2.17-2.ius.el5 for package: php52
--> Running transaction check
---> Package httpd.i386 0:2.2.3-45.el5.centos.1 set to be updated
---> Package php52-cli.i386 0:5.2.17-2.ius.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
php52-mysql i386 5.2.17-2.ius.el5 ius 94 k
Installing for dependencies:
httpd i386 2.2.3-45.el5.centos.1 update 1.2 M
mysql i386 5.0.77-4.el5_6.6 update 4.8 M
perl-DBI i386 1.52-2.el5 base 600 k
php52 i386 5.2.17-2.ius.el5 ius 1.4 M
php52-cli i386 5.2.17-2.ius.el5 ius 2.6 M
php52-common i386 5.2.17-2.ius.el5 ius 256 k
php52-pdo i386 5.2.17-2.ius.el5 ius 75 k
Transaction Summary
========================================================================================================================================================================
Install 8 Package(s)
Upgrade 0 Package(s)
Total size: 11 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/bin/mysql from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysql_waitpid from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlaccess from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqladmin from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlbinlog from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlcheck from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqldump from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlimport from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlshow from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysql.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysql_config from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-devel-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-devel-5.1.56-0.glibc23.i386
Error Summary
-------------
root@ip-173-201-34-240 [~]# edit /usr/bin/mysql
php52-mysql i386 5.2.17-2.ius.el5 ius 94 k
Installing for dependencies:
httpd i386 2.2.3-45.el5.centos.1 update 1.2 M
mysql i386 5.0.77-4.el5_6.6 update 4.8 M
perl-DBI i386 1.52-2.el5 base 600 k
php52 i386 5.2.17-2.ius.el5 ius 1.4 M
php52-cli i386 5.2.17-2.ius.el5 ius 2.6 M
php52-common i386 5.2.17-2.ius.el5 ius 256 k
php52-pdo i386 5.2.17-2.ius.el5 ius 75 k
Transaction Summary
========================================================================================================================================================================
Install 8 Package(s)
Upgrade 0 Package(s)
Total size: 11 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/bin/mysql from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysql_waitpid from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlaccess from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqladmin from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlbinlog from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlcheck from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqldump from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlimport from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysqlshow from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysql.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-client-5.1.56-0.glibc23.i386
file /usr/bin/mysql_config from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-devel-5.1.56-0.glibc23.i386
file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.0.77-4.el5_6.6.i386 conflicts with file from package MySQL-devel-5.1.56-0.glibc23.i386
Error Summary
-------------
I guess that I removed the package but some files are still in the system. I tried to open each file mentioned above. But, it is not human readable. : (
Do you have any idea to fix this error messages?
Thanks so much in advance. : )
Best Regards,
Soonho
-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of Jeffrey Ness
Sent: Monday, November 07, 2011 3:56 PM
To: Kim, Soonho (IFPRI)
Subject: Re: [Question #177453]: Installing IUS package :Failed dependencies
Your question #177453 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/177453
Status: Open => Answered
Jeffrey Ness proposed the following answer:
So being you are installing a php52 MySQL module libmysqlclient is required (a mysql package providing this lib) you can see below how YUM is attempting to automatically pull in "mysql":
--> Processing Dependency: libmysqlclient.so.15 for package: php52-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php52-mysql
However it appears you have a non Redhat mysql package which does not
provide this library:
--> Processing Conflict: mysql conflicts MySQL
I'm not sure where you obtained "MySQL" from, but you can get the
package information like below:
rpm -qi MySQL
rpm -qi MySQL-server
Since these are not the Redhat packages our PHP packages are built
against, you only option would be to remove the MySQL packages and
install the Redhat provided 'mysql' or IUS provided 'mysql50'/'mysql55'
packages.
--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/ius/+question/177453/+confirm?answer_id=8
If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/ius/+question/177453
You received this question notification because you asked the question.
--
You received this question notification because you are a member of IUS
Core Development, which is an answer contact for IUS Community Project.