| Bug #68018 | mysql-libs conflicts with MySQL-shared-5.5.29-1.linux2.6.x86_64 | ||
|---|---|---|---|
| Submitted: | 3 Jan 2013 7:21 | Modified: | 9 Jan 2013 11:17 |
| Reporter: | rajnish kumar | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Installing | Severity: | S1 (Critical) |
| Version: | 5.5.29 | OS: | Linux (CentOS release 5.8 (Final)) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | error: Failed dependencies: mysql-libs conflicts with MySQL-shared-5.5.29-1.linu | ||
[3 Jan 2013 7:44]
Erlend Dahl
This is a duplicate of Bug#67965 mysql-libs conflicts with MySQL-shared again. Please see that bug# for an explanation of how to do the install correctly.
[3 Jan 2013 8:52]
rajnish kumar
Hi Erlend, Thanks for your reply, I gone through the bug number mentioned by you , and I follow the same steps But still I am getting the same issue .
[3 Jan 2013 10:01]
rajnish kumar
Hi Team,
Please find the steps for mysql upgrade.
# rpm -q mysql-libs
package mysql-libs is not installed
#
#
# rpm -qa | grep -i mysql
MySQL-shared-5.5.20-1.linux2.6
MySQL-devel-5.5.20-1.linux2.6
MySQL-client-5.5.20-1.linux2.6
MySQL-server-5.5.20-1.linux2.6
MySQL-embedded-5.5.20-1.linux2.6
MySQL-shared-compat-5.5.20-1.linux2.6
MySQL-test-5.5.20-1.linux2.6
# rpm -qa | grep -i mysql | xargs rpm -e
# rpm -qa | grep -i mysql
#
# rpm -ivh MySQL-client-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
#
#
#
# rpm -ivh MySQL-devel-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [100%]
# rpm -ivh MySQL-embedded-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-embedded ########################################### [100%]
#
# rpm -ivh MySQL-server-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
MySQL-server ########################################### [100%]
Starting MySQL......[ OK ]
Giving mysqld 5 seconds to start
#
# rpm -ivh MySQL-shared-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-shared ########################################### [100%]
#
# rpm -ivh MySQL-shared-compat-5.5.29-1.linux2.6.x86_64.rpm
error: Failed dependencies:
mysql-libs conflicts with MySQL-shared-5.5.29-1.linux2.6.x86_64
# rpm -ivh MySQL-test-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-test ########################################### [100%]
#
# rpm -qa | grep -i mysql
MySQL-embedded-5.5.29-1.linux2.6
MySQL-test-5.5.29-1.linux2.6
MySQL-devel-5.5.29-1.linux2.6
MySQL-client-5.5.29-1.linux2.6
MySQL-server-5.5.29-1.linux2.6
MySQL-shared-5.5.29-1.linux2.6
[3 Jan 2013 11:59]
Balasubramanian Kandasamy
Hi Rajnish, Please can you ensure that postfix is uninstalled, before you try to install/upgrade 5.5.29 rpm -e --force <postfix-version> Thanks,
[3 Jan 2013 12:57]
rajnish kumar
Thanks for your reply , But postfix is not installed on my server ,below are details for the same . # chkconfig --list | grep postfix # rpm -qa | grep -i postfix* # rpm -qa | grep -i postfix
[4 Jan 2013 5:14]
rajnish kumar
.
[4 Jan 2013 6:00]
Balasubramanian Kandasamy
Hi Rajnish, Please can you try below command to remove mysql-libs, then try install/upgrade to mysql 5.5.29 yum remove mysql-libs Thanks,
[4 Jan 2013 6:41]
rajnish kumar
Hi ,
Thanks for reply , I did these steps but still I am getting the same error, below are the details for the same.
yum remove mysql-libs
Loaded plugins: fastestmirror, kernel-module, security
Setting up Remove Process
Resolving Dependencies
Loading mirror speeds from cached hostfile
* base: mirrors.sin3.sg.voxel.net
* extras: mirrors.sin3.sg.voxel.net
* updates: mirrors.sin3.sg.voxel.net
--> Running transaction check
---> Package MySQL-shared-compat.x86_64 0:5.5.29-1.linux2.6 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
MySQL-shared-compat x86_64 5.5.29-1.linux2.6 installed 11 M
Transaction Summary
================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : MySQL-shared-compat 1/1
Removed:
MySQL-shared-compat.x86_64 0:5.5.29-1.linux2.6
Complete!
#yum remove mysql-libs
Loaded plugins: fastestmirror, kernel-module, security
Setting up Remove Process
No Match for argument: mysql-libs
Loading mirror speeds from cached hostfile
* base: mirrors.sin3.sg.voxel.net
* extras: mirrors.sin3.sg.voxel.net
* updates: mirrors.sin3.sg.voxel.net
No Packages marked for removal
# rpm -ivh MySQL-shared-5.5.29-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-shared ########################################### [100%]
[root@RajnishDB MySQL5.5.29]#
[root@RajnishDB MySQL5.5.29]# rpm -ivh MySQL-shared-compat-5.5.29-1.linux2.6.x86_64.rpm
error: Failed dependencies:
mysql-libs conflicts with MySQL-shared-5.5.29-1.linux2.6.x86_64
[4 Jan 2013 12:24]
rajnish kumar
Hi Team, Please update on this , I am unable to go for mysql upgradation due to this problem.
[4 Jan 2013 13:50]
Balasubramanian Kandasamy
Hi Rajnish, We are re-building the rpms with the fix, will keep you posted. Thanks,
[8 Jan 2013 6:31]
Balasubramanian Kandasamy
Hi Rajnish, Please proceed with the below workaround steps to ignore the conflicts and continue with the upgrade. We will release the fix soon. rpm -Uvh --nodeps MySQL-shared-compat-5.5.28-1.el6.x86_64.rpm Thanks,
[8 Jan 2013 6:33]
Balasubramanian Kandasamy
Correction in RPM command: Please read the rpm command as below rpm -Uvh --nodeps MySQL-shared-compat-5.5.29-1.linux2.6.x86_64.rpm
[9 Jan 2013 11:17]
rajnish kumar
Thanks :)
[21 Jan 2013 10:55]
Jon Stephens
Duplicate of BUG#67965.

Description: Hi Team, I was using mysql 5.5.20 on my test server (OS centos 5.6 64 bit server), due to below bug Error : 130102 12:34:16 InnoDB: Error: data file ./ibdata2 uses page size 1024 I updated my mysql server version (First delete all mysql 5.5.20 rpm) then I installed mysql 5.5.29 rpms , All rpm installed successful except MySQL-shared-compat-5.5.29-1.linux2.6.x86_64.rpm when I was trying to install it , it throws below error error: Failed dependencies: mysql-libs conflicts with MySQL-shared-5.5.29-1.linux2.6.x86_64 when i remove MySQL-shared-VERSION.glibc23.i386.rpm package then MySQL-shared-compat-5.5.29-1.linux2.6.x86_64.rpm is installed successful but MySQL-shared-5.5.29-1.linux2.6.x86_64 throws below error error: Failed dependencies: mysql-libs conflicts with MySQL-shared-5.5.29-1.linux2.6.x86_64 Apart from this My Mysql Is up and running fine .Please suggest why this error comes when going to install MySQL-shared-5.5.29-1.linux2.6.x86_64 rpm . As mentioned in doc : http://dev.mysql.com/doc/refman/5.5/en/linux-installation-rpm.html , I am bit confused . Please clarify on this. How to repeat: try to install rpm packages agin . Suggested fix: