Page 1 of 1

Centos 5, mysql-libs conflict on yum update...

Posted: Thu Aug 20, 2009 2:49 am
by benji
Hi,

My server is Centos 5, i386 architecture.

I just tried to update my server and i found the following:

Code: Select all

[root@v2 ~]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * atomic: www5.atomicorp.com
 * base: mirror.ovh.net
 * updates: mirror.ovh.net
 * addons: mirror.ovh.net
 * extras: mirror.ovh.net
74 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: mysql-libs = 5.0.83-1.el5.art for package: mysql
---> Package mysql-libs.i386 0:5.0.84-1.el5.art set to be updated
--> Finished Dependency Resolution
mysql-5.0.83-1.el5.art.x86_64 from installed has depsolving problems
  --> Missing Dependency: mysql-libs = 5.0.83-1.el5.art is needed by package mysql-5.0.83-1.el5.art.x86_64 (installed)
Error: Missing Dependency: mysql-libs = 5.0.83-1.el5.art is needed by package mysql-5.0.83-1.el5.art.x86_64 (installed)
[root@v2 ~]# 
I tried several times: yum clean all, and trying again yum update with no luck, also tried rpm --rebuilddb, with no luck either.
I checked out the package mysql-libs to se what is installed on my system:

Code: Select all

[root@v2 ~]# rpm -q mysql-libs
mysql-libs-5.0.83-1.el5.art
mysql-libs-5.0.84-1.el5.art
[root@v2 ~]# 
It seems like i have two versions at the same time of mysql-libs version, how cold that happend?!, how do i solve this situation? I can't just uninstall mysql-libs, since it will remove all dependencies and uninstall almost my whole system!

Thanks for any help. :|

Re: Centos 5, mysql-libs conflict on yum update...

Posted: Thu Aug 20, 2009 9:24 am
by scott
try "yum upgrade" first

Re: Centos 5, mysql-libs conflict on yum update...

Posted: Wed Oct 07, 2009 7:50 am
by arjene
Same problem here...
> yum install mysql-devel
mysql-5.0.84-1.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: mysql-libs = 5.0.84-1.el5.art is needed by package mysql-5.0.84-1.el5.art.i386 (atomic)
Error: Missing Dependency: mysql-libs = 5.0.84-1.el5.art is needed by package mysql-5.0.84-1.el5.art.i386 (atomic)

Re: Centos 5, mysql-libs conflict on yum update...

Posted: Wed Oct 07, 2009 8:13 am
by scott
clear you cache:

yum clean all

Upgrade the package (not install):

yum upgrade

then install the -devel package:

yum install mysql-devel

5.0.86 is the latest

Re: Centos 5, mysql-libs conflict on yum update...

Posted: Wed Oct 07, 2009 8:47 am
by arjene
thankzzz.

it works !