1 (edited by caifan 2012-07-16 07:02:00)

Topic: mysql conflicts

I'm trying to update to the newest version of mysql in centos 5.7, I have php 5.3 installed. when I run the following command: yum --noplugins --enablerepo=remi update mysql.

I get:

sudo yum --noplugins --enablerepo=remi update mysql
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.5.25a-1.el5.remi set to be updated
--> Processing Dependency: mysql-libs = 5.5.25a-1.el5.remi for package: mysql
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.5.25a-1.el5.remi set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package           Arch          Version                      Repository   Size
================================================================================
Updating:
mysql             x86_64        5.5.25a-1.el5.remi           remi        7.4 M
Installing for dependencies:
mysql-libs        x86_64        5.5.25a-1.el5.remi           remi        1.1 M

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Total size: 8.6 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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.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.25a-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-1.el5_7.1.i386

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

how can I fix this? thanks in advance!

Re: mysql conflicts

Check the FAQ (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: mysql conflicts

I get different but similar errors

Transaction Check Error:
  file /usr/lib64/php/modules/mcrypt.so from install of php-mcrypt-5.3.13-1.el5.remi.x86_64 conflicts with file from package php53-mcrypt-5.3.3-1.el5.x86_64
  file /usr/lib64/php/modules/tidy.so from install of php-tidy-5.3.13-1.el5.remi.x86_64 conflicts with file from package php53-tidy-5.3.3-1.el5.x86_64
  file /usr/lib64/php/modules/recode.so from install of php-recode-5.3.13-1.el5.remi.x86_64 conflicts with file from package php53-recode-5.3.3-1.el5.x86_64
  file /usr/lib64/php/modules/enchant.so from install of php-enchant-5.3.13-1.el5.remi.x86_64 conflicts with file from package php53-enchant-5.3.3-1.el5.x86_64
file /usr/lib64/php/modules/mcrypt.so from install of php-mcrypt-5.3.12-1.el5.remi.x86_64 conflicts with file from package php53-mcrypt-5.3.3-1.el5.x86_64
file /usr/lib64/php/modules/enchant.so from install of php-enchant-5.3.12-1.el5.remi.x86_64 conflicts with file from package php53-enchant-5.3.3-1.el5.x86_64
file /usr/lib64/php/modules/tidy.so from install of php-tidy-5.3.12-1.el5.remi.x86_64 conflicts with file from package php53-tidy-5.3.3-1.el5.x86_64
file /usr/lib64/php/modules/recode.so from install of php-recode-5.3.12-1.el5.remi.x86_64 conflicts with file from package php53-recode-5.3.3-1.el5.x86_64

I followed direction on enabling the repo yo your build.

Re: mysql conflicts

That is normal.

You must chose betwwen php53 from official repo and php from mine.

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

5 (edited by matthes134 2012-08-15 13:08:28)

Re: mysql conflicts

Im not sure how to go about changing that can you give me a little hint?
Would I have to disable the main?


thank you for your reply

I can attach the configs of the repos if need be.
or here it is
http://dl.dropbox.com/u/25734016/RemiRe … kError.pdf

Re: mysql conflicts

You wrote
Probably I miss a rebuild, I will check this ASAP.
for php vs php53, if you want to use latest version from my repo, you need to exclude php53 from official repository.

##
How would i go about excluding that from the official repository?
I have on the base repo, extras, centosplus and also contrib the following statement

exclude = php* mysql*

Re: mysql conflicts

> How would i go about excluding that from the official repository?
yum remove php53\*

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: mysql conflicts

Thank you for your time and your post much appreciated!!