LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-06-2010, 07:26 AM   #1
kdani
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Rep: Reputation: 0
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 ?
 
Old 08-07-2010, 01:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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?
 
Old 08-07-2010, 01:58 AM   #3
kdani
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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 View Post
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?

Last edited by kdani; 08-07-2010 at 02:01 AM.
 
Old 08-07-2010, 02:22 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,843

Rep: Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when updating kubuntu 9.04->9.10 : server possible overloaded sonicboy Ubuntu 1 11-01-2009 11:00 PM
Zone file(s) problem, datestamps keep updating on secondary DNS server. ipa Linux - Newbie 1 08-05-2008 10:58 AM
Problem updating a shell startup file in SUSE Server 10 Sergei Z Linux - Newbie 4 06-03-2007 10:18 PM
Problem with updating server. EYEdROP Linux - Software 1 03-20-2007 12:42 PM
Updating Name server with dynamic ip changes terek Linux - Newbie 4 08-31-2005 07:21 AM


All times are GMT -5. The time now is 09:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration