LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   problem updating server (http://www.linuxquestions.org/questions/linux-server-73/problem-updating-server-824566/)

kdani 08-06-2010 08:26 AM

problem updating server
 
Hi,
I have a CENTOS 5.5 server
With plesk. (and of-course php 5.1.6 and mysql)

trying to upgrade to php 5.2.13
I've added: utterramblings repository
to yum.

it worked on another server for me, but this time I've got this and another 20 errors like it when I tried to run yum update:

Transaction Check Error:
file /usr/share/mysql/english/errmsg.sys from install of mysql-server-5.0.91-jason.2.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
file /etc/my.cnf from install of mysql-5.0.91-jason.2.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
file /usr/share/info/mysql.info.gz from install of mysql-5.0.91-jason.2.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.0.91-jason.2.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386
file /usr/share/man/man1/mysql.1.gz from install of mysql-5.0.91-jason.2.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.3.i386


and many mores....

I can't uninstall php-mysql - b/c it tries to remove plesk as well I think.

How can I resolve this issue or update php in other way ?

acid_kewpie 08-07-2010 02:36 AM

using multiple architectures can be pretty messy. firstly can you remove the arch that you don't need? i386 by the sound of it. If not then you can explicitly update both architectures if that is what you currently have, so "yum update mysql-5.0.91-jason.2.x86_64 mysql-5.0.91-jason.2.i386". But in then you're changing from a normal mysql installation to this jason one... I'd steer clear unless you know exactly why you're doing this. Maybe you actually just want to block out mysql from that repo, or just not add it in the first place?

kdani 08-07-2010 02:58 AM

Hi,
Thanks for the answer.
I don't want to do anything to the SQL server.
All I want is to update php, and later install ffmpeg and other utils from rpmforge.
how can I remove the i386 arch from everything if it is not needed ? (server is 64)

I would've exclude the mysql update from yum if this can solve the problem.
but it doesn't work as well:

yum update -x mysql mysql-devel --skip-broken
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: centos.maulvi.net
* base: centos.maulvi.net
* extras: centos.maulvi.net
* updates: mirror.viethosting.vn
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-devel.x86_64 0:5.0.91-jason.2 set to be updated
--> Processing Dependency: mysql = 5.0.91-jason.2 for package: mysql-devel
--> Processing Dependency: libndbclient.so.2()(64bit) for package: mysql-devel
--> Finished Dependency Resolution
mysql-devel-5.0.91-jason.2.x86_64 from utterramblings has depsolving problems
--> Missing Dependency: mysql = 5.0.91-jason.2 is needed by package mysql-devel-5.0.91-jason.2.x86_64 (utterramblings)
mysql-devel-5.0.91-jason.2.x86_64 from utterramblings has depsolving problems
--> Missing Dependency: libndbclient.so.2()(64bit) is needed by package mysql-devel-5.0.91-jason.2.x86_64 (utterramblings)

Packages skipped because of dependency problems:
mysql-devel-5.0.91-jason.2.x86_64 from utterramblings


Quote:

Originally Posted by acid_kewpie (Post 4058573)
using multiple architectures can be pretty messy. firstly can you remove the arch that you don't need? i386 by the sound of it. If not then you can explicitly update both architectures if that is what you currently have, so "yum update mysql-5.0.91-jason.2.x86_64 mysql-5.0.91-jason.2.i386". But in then you're changing from a normal mysql installation to this jason one... I'd steer clear unless you know exactly why you're doing this. Maybe you actually just want to block out mysql from that repo, or just not add it in the first place?


John VV 08-07-2010 03:22 AM

It is looking like there is no easy fix with using multiple repos
there can AND WILL be conflicts .
That is what "priorities" is good for

you will need to find the correct rpm's on the correct repo ( yes by hand)
then add the priorities # to the repo file
that way yum will look FIRST at the repo you want

this looks like what is causing the trouble " libndbclient.so.2"

This is also one good reason for RHEL and there paid support

It is fixable but will take some time .
Also what is in your " global exclude list" ?
Quote:

Excluding Packages in global exclude list
you are showing these repos as on
Code:

* addons: centos.maulvi.net
* base: centos.maulvi.net
* extras: centos.maulvi.net
* updates: mirror.viethosting.vn

But what are installed and may have been on, at one time, but are off now ?
Code:

yum repolist all


All times are GMT -5. The time now is 04:59 AM.