Work around for error “php53-odbc64 conflicts with php53-odbc”

by skytech on February 20, 2013

Question :
When i try to run “yum install php53*”, or “yum install php” to install php package on CentOS6.9, i get the following error :

..
..
..
  --> php53-odbc64 conflicts with php53-odbc
Error: php53-odbc64 conflicts with php53-odbc
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
..
..

Example :

[root@centos59 ~]# yum install php53*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nus.edu.sg
 * extras: mirror.nus.edu.sg
 * updates: mirror.nus.edu.sg
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-bcmath.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-cli.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-common.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-dba.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-devel.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-gd.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-imap.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-intl.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-ldap.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-mbstring.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-mysql.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-odbc.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-odbc64.i386 0:5.3.3-2.el5 set to be updated
--> Processing Dependency: libodbc.so.2 for package: php53-odbc64
---> Package php53-pdo.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-pgsql.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-process.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-pspell.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-snmp.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-soap.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-xml.i386 0:5.3.3-13.el5_8 set to be updated
---> Package php53-xmlrpc.i386 0:5.3.3-13.el5_8 set to be updated
--> Running transaction check
---> Package unixODBC64-libs.i386 0:2.2.14-3.el5 set to be updated
--> Processing Dependency: libltdl.so.3 for package: unixODBC64-libs
--> Running transaction check
---> Package libtool-ltdl.i386 0:1.5.22-7.el5_4 set to be updated
--> Processing Conflict: php53-odbc64 conflicts php53-odbc
--> Finished Dependency Resolution
php53-odbc64-5.3.3-2.el5.i386 from base has depsolving problems
  --> php53-odbc64 conflicts with php53-odbc
Error: php53-odbc64 conflicts with php53-odbc
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Solution :
Anyway, I’ve got the workaround for this issue as mentioned in the log above.

[root@centos59 ~]# yum install php53* --skip-broken

As always if you need any help you can reach us on twitter @ehowstuff or drop us a comment below. Jumping through archives page to read more articles..



  • IT mole

    Same error has occurred to me.

    It seems successful and then install the php-5.3.27 as follows.

    I run the command in the following order:

    tar zxvf php-5.3.27.tar.gz

    cd php-5.3.27

    . / configure

    make

    make install

    Check the php version

    php-version

    To change the permissions on the su depending on your environment, to perform password

    However, it is necessary to create a php.ini

    should I use to copy the php.ini-development present in the php-5.3.27 directory

    php.ini should be present in the etc.

  • nomura

    # yum install php53* –skip-broken php53-odbc64

    You should may be input in this manner.

Previous post:

Next post: