1 (edited by bmw 2011-02-03 01:21:05)

Topic: Centos5 MySQL wants to overwrite Remi - conflicts

I am getting this error after trying to upgrade/update CentOS 5 2.6.18-194.32.1.el5.centos.plus (64-bit) several times. Why is CentOS trying to uninstall Remi?

bash-3.2# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.stanford.edu
 * base: centos.mirror.facebook.net
 * centosplus: ftp.osuosl.org
 * contrib: ftp.osuosl.org
 * epel: ftp.osuosl.org
 * extras: mirrors.xmission.com
 * rpmforge: apt.sw.be
 * updates: mirrors.versaweb.com
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package MySQL-devel.x86_64 0:5.1.48-1.glibc23 set to be updated
---> Package MySQL-server.x86_64 0:5.1.48-1.glibc23 set to be updated
---> Package git.x86_64 0:1.7.3.4-1.el5.rf set to be updated
---> Package perl-Git.x86_64 0:1.7.3.4-1.el5.rf set to be updated
---> Package t1lib.x86_64 0:5.1.2-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
 Package                                   Arch                                Version                                          Repository                              Size
=============================================================================================================================================================================
Installing:
 MySQL-devel                               x86_64                              5.1.48-1.glibc23                                 smartfile                              9.4 M
     replacing  mysql-devel.x86_64 5.1.52-1.el5.remi
 MySQL-server                              x86_64                              5.1.48-1.glibc23                                 smartfile                               19 M
     replacing  mysql.x86_64 5.1.52-1.el5.remi
     replacing  mysql-server.x86_64 5.1.52-1.el5.remi
Updating:
 git                                       x86_64                              1.7.3.4-1.el5.rf                                 rpmforge                               6.2 M
 perl-Git                                  x86_64                              1.7.3.4-1.el5.rf                                 rpmforge                                24 k
 t1lib                                     x86_64                              5.1.2-1.el5.rf                                   rpmforge                               388 k

Transaction Summary
=============================================================================================================================================================================
Install       2 Package(s)
Upgrade       3 Package(s)

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


Transaction Check Error:
  file /etc/my.cnf from install of MySQL-server-5.1.48-1.glibc23.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el5.remi.x86_64

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

-bash-3.2# 

Re: Centos5 MySQL wants to overwrite Remi - conflicts

The conflicting package comes from "smartfile" repo. So disable 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: Centos5 MySQL wants to overwrite Remi - conflicts

Okay, that worked but it uninstalled the Remi Mysql server. I am now reinstalling mysql and mysql-server 5.5.8 which is also updating PHP to 5.3.5.

One thing, I am in California USA and the connection to the Remi server is very slow. It is crawling at no more than 60 kb/s all the time.

Thoughts?

Re: Centos5 MySQL wants to overwrite Remi - conflicts

>..  the connection to the Remi server is very slow

This is a small server.
The mirrors could be faster, but I only have mirrors in Europe.

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: Centos5 MySQL wants to overwrite Remi - conflicts

Very good.
Guess it is good practice to create a command-line alias to disable 'smartfile' so this doesn't happen again, yes?

Re: Centos5 MySQL wants to overwrite Remi - conflicts

There is various solution

- uninstall this repo
- disable it setting "enabled=0" in the repo file
- disable MySQL from this repo using "exclude" directive

Using various third repositories is always a source of problem.

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