Topic: php-mysql 5.3.6-3.el5.remi dependency conflict mysql-libs

I am getting conflict errors on a php-mysql dependency mysql-libs.

I use MySQL from the official CentOS 5.6 repo and would like to continue to do so. I have remi.repo set to priority=99 and the CentOS repo to priority=1.

http://pastebin.com/wMSH3yrv

Re: php-mysql 5.3.6-3.el5.remi dependency conflict mysql-libs

install mysql-compat55 from remi-test before updating php.

+

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: php-mysql 5.3.6-3.el5.remi dependency conflict mysql-libs

I get the same conflict error:


# yum --enablerepo=remi-test install compat-mysql55.i386
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: mirror.ash.fastserv.com
* base: centos.mirror.choopa.net
* epel: serverbeach1.fedoraproject.org
* extras: mirrors.netdna.com
* remi: remi-mirror.dedipower.com
* remi-test: remi-mirror.dedipower.com
* updates: centos.mirror.nac.net
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Excluding Packages from CentOS-5 - Updates
Finished
144 packages excluded due to repository priority protections
Setting up Install Process
Package compat-mysql55 is obsoleted by mysql-libs, trying to install mysql-libs-5.5.12-1.el5.remi.i386 instead
Resolving Dependencies
--> Running transaction check
---> Package mysql-libs.i386 0:5.5.12-1.el5.remi set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================
Package                                Arch                             Version                                        Repository                        Size
===============================================================================================================================================================
Installing:
mysql-libs                             i386                             5.5.12-1.el5.remi                              remi                             1.1 M

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

Total size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /etc/my.cnf from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.5.12-1.el5.remi.i386 conflicts with file from package mysql-5.0.77-4.el5_5.5.i386

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

Re: php-mysql 5.3.6-3.el5.remi dependency conflict mysql-libs

I downloaded compat-mysql55-5.5.11-1.el5.remi.i386.rpm from your repo manually. Installed manually then I tried to update again and I get the same errors. Yum still tries to install mysql-libs replacing  compat-mysql55.i386 5.5.11-1.el5.remi. Is there a way to avoid that? Or is it better to fix the rpm?

Re: php-mysql 5.3.6-3.el5.remi dependency conflict mysql-libs

You need to exclude mysql from remi repo.

I you run "yum update" this is normal yum try to replace it.

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: php-mysql 5.3.6-3.el5.remi dependency conflict mysql-libs

thank you remi! exluding mysql in the remi repo and installing compat-mysql55 allowed me to update php!