1 (edited by ToolMayNARD 2010-06-29 15:44:25)

Topic: Unable to update php on CentOS 5 x86_64

Hello,

i tried to update my installation of php on my CentOS 5 x86_64 but every try i make I obtain this error:

Transaction Check Error:
  file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysql.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysql_waitpid.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /etc/my.cnf from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.remi.1.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386

I have epel and remi repositories enabled both. I tried to install mysqlclient16 alone from remi-testing, obtaining the same error. I read some other topic with the same error, without solving the problem. What can I do?

Thanks.

Mauro

Re: Unable to update php on CentOS 5 x86_64

Seems you have both i386 and x86_64 packages of mysql installed.

Remove the i386 (you probably don't need them, this is a installation bug in EL 5)

then update mysql (or install mysqlclient16) and then php

+

P.S. tips : "yum remove glibc.i686" do a very good clean of most of 32 bits packages.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: Unable to update php on CentOS 5 x86_64

That worked like a charm. Thank you Remi!
I was not aware of this packages mess by CentOS default installation. I have to inform myself.

Bye.

Mauro

Re: Unable to update php on CentOS 5 x86_64

What if I need to upgrate php-mysql on a database production server where the mysql is out of date (v5.0)? I get the same error as ToolMayNARD and I just can't uninstall the mysql because this would probably end up on my being fired yikes

Re: Unable to update php on CentOS 5 x86_64

If you uninstall mysql.i386, you will keep mysql.x86_64 and mysql-server-x86_64. So everything will continue to work.

But, upgrading from 5.0 to 5.1 or 5.5 is a big job that require some time and work (backup, dump, RPM update, DB upgrade, App tests, ...)
You probably need to run it first on a test environment.

+

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70