Topic: unable to update php and mysql

Hello,

I'M triyng to upgrade php to 5.3 in centos 5 server.

I know this problem was previously reported here but i need help please.

my php and mysql packages now installed from official repos are:

rpm -qa | grep php
php-devel-5.1.6-39.el5_8
php-mcrypt-5.1.6-15.el5.centos.1
php-soap-5.1.6-39.el5_8
php-5.1.6-39.el5_8
php-mysql-5.1.6-39.el5_8
php-xml-5.1.6-39.el5_8
php-common-5.1.6-39.el5_8
php-cli-5.1.6-39.el5_8
php-mbstring-5.1.6-39.el5_8
php-pdo-5.1.6-39.el5_8
php-gd-5.1.6-39.el5_8
php-pear-1.4.9-8.el5
php-xmlrpc-5.1.6-39.el5_8

rpm -qa | grep mysql
mysql-5.0.95-1.el5_7.1
mysql-server-5.0.95-1.el5_7.1
mysql-devel-5.0.95-1.el5_7.1
mysql-5.0.95-1.el5_7.1
php-mysql-5.1.6-39.el5_8
mysql-devel-5.0.95-1.el5_7.1

Y need to upgrade php to the latest version with epel+remi

So i installed:

Enterprise Linux 5 (with EPEL) (i can't post links...)
wget xxxxxdl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget xxxxxxrpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

Now i try to upgrade:

yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.finalasp.com
 * epel: dl.fedoraproject.org
 * extras: centos-distro.cavecreek.net
 * remi: fr2.rpmfind.net
 * updates: mirrors.usc.edu
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libcurl.so.3()(64bit) for package: gnupg
---> Package curl.x86_64 0:7.21.7-5.el5.remi.2 set to be updated
--> Processing Dependency: libcurl = 7.21.7-5.el5.remi.2 for package: curl
--> Processing Dependency: libcurl.so.4()(64bit) for package: curl
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: perl-DBD-MySQL
---> Package mysql.x86_64 0:5.5.28-3.el5.remi set to be updated
--> Processing Dependency: mysql-libs = 5.5.28-3.el5.remi for package: mysql
---> Package mysql-devel.x86_64 0:5.5.28-3.el5.remi set to be updated
---> Package mysql-server.x86_64 0:5.5.28-3.el5.remi set to be updated
---> Package php.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-cli.x86_64 0:5.4.10-1.el5.remi set to be updated
--> Processing Dependency: libedit.so.0()(64bit) for package: php-cli
---> Package php-common.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-devel.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-gd.x86_64 0:5.4.10-1.el5.remi set to be updated
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd
---> Package php-mbstring.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-mcrypt.x86_64 0:5.4.10-1.el5.remi set to be updated
--> Processing Dependency: libltdl.so.3()(64bit) for package: php-mcrypt
---> Package php-mysql.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-pdo.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-pear.noarch 1:1.9.4-12.el5.remi set to be updated
---> Package php-soap.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-xml.x86_64 0:5.4.10-1.el5.remi set to be updated
---> Package php-xmlrpc.x86_64 0:5.4.10-1.el5.remi set to be updated
--> Running transaction check
---> Package compat-libcurl3.x86_64 0:7.15.5-2.el5.remi set to be updated
---> Package libcurl.x86_64 0:7.21.7-5.el5.remi.2 set to be updated
--> Processing Dependency: libssh2 >= 1.2.7 for package: libcurl
--> Processing Dependency: libssh2.so.1()(64bit) for package: libcurl
---> Package libedit.x86_64 0:2.11-2.20080712cvs.el5 set to be updated
---> Package libtool-ltdl.x86_64 0:1.5.22-7.el5_4 set to be updated
---> Package mysql-libs.x86_64 0:5.5.28-3.el5.remi set to be updated
---> Package mysqlclient15.x86_64 0:5.0.67-1.el5.remi set to be updated
---> Package t1lib.x86_64 0:5.1.1-9.el5 set to be updated
--> Running transaction check
---> Package libssh2.x86_64 0:1.2.7-1.el5.remi set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                    Arch                              Version                                             Repository                       Size
========================================================================================================================================================================
Updating:
 curl                                       x86_64                            7.21.7-5.el5.remi.2                                 remi                            250 k
 mysql                                      x86_64                            5.5.28-3.el5.remi                                   remi                            7.5 M
 mysql-devel                                x86_64                            5.5.28-3.el5.remi                                   remi                            180 k
 mysql-server                               x86_64                            5.5.28-3.el5.remi                                   remi                             13 M
 php                                        x86_64                            5.4.10-1.el5.remi                                   remi                            3.1 M
 php-cli                                    x86_64                            5.4.10-1.el5.remi                                   remi                            2.9 M
 php-common                                 x86_64                            5.4.10-1.el5.remi                                   remi                            1.0 M
 php-devel                                  x86_64                            5.4.10-1.el5.remi                                   remi                            2.9 M
 php-gd                                     x86_64                            5.4.10-1.el5.remi                                   remi                            217 k
 php-mbstring                               x86_64                            5.4.10-1.el5.remi                                   remi                            1.2 M
 php-mcrypt                                 x86_64                            5.4.10-1.el5.remi                                   remi                             56 k
 php-mysql                                  x86_64                            5.4.10-1.el5.remi                                   remi                            182 k
 php-pdo                                    x86_64                            5.4.10-1.el5.remi                                   remi                            128 k
 php-pear                                   noarch                            1:1.9.4-12.el5.remi                                 remi                            422 k
 php-soap                                   x86_64                            5.4.10-1.el5.remi                                   remi                            286 k
 php-xml                                    x86_64                            5.4.10-1.el5.remi                                   remi                            235 k
 php-xmlrpc                                 x86_64                            5.4.10-1.el5.remi                                   remi                             95 k
Installing for dependencies:
 compat-libcurl3                            x86_64                            7.15.5-2.el5.remi                                   remi                            183 k
 libcurl                                    x86_64                            7.21.7-5.el5.remi.2                                 remi                            202 k
 libedit                                    x86_64                            2.11-2.20080712cvs.el5                              epel                             80 k
 libssh2                                    x86_64                            1.2.7-1.el5.remi                                    remi                             82 k
 libtool-ltdl                               x86_64                            1.5.22-7.el5_4                                      base                             38 k
 mysql-libs                                 x86_64                            5.5.28-3.el5.remi                                   remi                            1.1 M
 mysqlclient15                              x86_64                            5.0.67-1.el5.remi                                   remi                            1.3 M
 t1lib                                      x86_64                            5.1.1-9.el5                                         epel                            208 k

Transaction Summary
========================================================================================================================================================================
Install       8 Package(s)
Upgrade      17 Package(s)

Total size: 36 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/mysqlaccess from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysql.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysql_waitpid.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /etc/my.cnf from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.28-3.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386

Error Summary
-------------

Please i need help.

Thank you very much.

Re: unable to update php and mysql

Hello,

Hello,

Can anyone help please?

Thanks.-

Re: unable to update php and mysql

> I'M triyng to upgrade php to 5.3 in centos 5 server.
See http://blog.famillecollet.com/post/2012 … repository

> Can anyone help please?
Read the FAQ : http://blog.famillecollet.com/pages/English-FAQ
Tips, see : Conflict between i386 and x86_64 packages ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: unable to update php and mysql

Thank you Remi.
In the faqs I found the answers.