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

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
benji
Forum User
Forum User
Posts: 63
Joined: Thu Mar 29, 2007 10:32 am

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

Unread post 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. :|
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post by scott »

try "yum upgrade" first
arjene
New Forum User
New Forum User
Posts: 2
Joined: Wed Oct 07, 2009 7:48 am

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

Unread post 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)
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post 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
arjene
New Forum User
New Forum User
Posts: 2
Joined: Wed Oct 07, 2009 7:48 am

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

Unread post by arjene »

thankzzz.

it works !
Post Reply