[SOLVED] mysql-5.0.95 and mysql-libs-5.0.84 Transaction Check Error

Issues related to software problems.

[SOLVED] mysql-5.0.95 and mysql-libs-5.0.84 Transaction Chec

Postby lieutdan13 » 2012/03/06 17:03:18

I went to update mysql on my server and I get a conflict with mysql-libs which doesn't have a corresponding package number with mysql. I'm trying to go from mysql-5.0.84 to mysql-5.0.95, but mysql-libs doesn't have a new package with the 5.0.95 version.

I have included some information below to help troubleshoot.

Code: Select all
# cat /etc/redhat-release
CentOS release 5.7 (Final)

# yum list installed | grep mysql
mysql.i386                            5.0.84-2.el5.centos            installed
mysql-libs.i386                       5.0.84-2.el5.centos            installed
mysql-server.i386                     5.0.84-2.el5.centos            installed
php-mysql.i386                        5.2.10-1.el5.centos            @c5-testing

# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.steadfast.net
 * extras: mirror.7x24web.net
 * updates: mirror.7x24web.net
0 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.95-1.el5_7.1 set to be updated
---> Package mysql-server.i386 0:5.0.95-1.el5_7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================
Package                                Arch                           Version                                      Repository                       Size
===================================================================================================================================================================
Updating:
 mysql                                  i386                         5.0.95-1.el5_7.1                             updates                          4.9 M
 mysql-server                           i386                         5.0.95-1.el5_7.1                             updates                          9.8 M

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

Total size: 15 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-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/lib/mysql/libmysqlclient.so.15.0.0 from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/lib/mysql/libmysqlclient_r.so.15.0.0 from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386

Error Summary
-------------
lieutdan13
 
Posts: 15
Joined: 2007/04/11 11:15:00

Re: mysql-5.0.95 and mysql-libs-5.0.84 Transaction Check Error

Postby TrevorH » 2012/03/06 18:37:44

mysql-libs is not a CentOS package and 5.0.84 has never been part of the CentOS 5 repos.
User avatar
TrevorH
Forum Moderator
 
Posts: 9167
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [SOLVED] mysql-5.0.95 and mysql-libs-5.0.84 Transaction Check Error

Postby lieutdan13 » 2012/03/06 19:04:16

Correct. It is in c5-testing. I have solved the problem by removing mysql-libs with the following commands:

Code: Select all
# yum remove mysql-libs
(which removed mysql mysql-server perl-DBD-MySQL php-mysql)
# yum install mysql mysql-server perl-DBD-MySQL php-mysql


I did this on a development environment first. I hope I don't find out that I needed mysql-libs.
lieutdan13
 
Posts: 15
Joined: 2007/04/11 11:15:00

Re: [SOLVED] mysql-5.0.95 and mysql-libs-5.0.84 Transaction Check Error

Postby AlanBartlett » 2012/03/07 01:30:30

Thank you for reporting back.

For posterity (and on your behalf), the initial post of this thread is now marked [SOLVED].
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 5 - Software Support

Who is online

Users browsing this forum: No registered users and 3 guests