ius-community team mailing list archive
-
ius-community team
-
Mailing list archive
-
Message #00417
Re: attempting to upgrade mysql-server using ius repo
Thank you for your reply. I have installed yum-plugin-replace.
From the error message that I quoted below, it seems that there is a conflict with mysql-libs.
Is there a way to use the replace plugin with the entire mysql group, so that it replaces anything that mysql-server needs with compatible versions?
I see that the 'MySQL Database' groupinstall does not include mysql-libs, so I assume that would have to be replaced separately.
Group: MySQL Database
Description: This package group contains packages useful for use with MySQL.
Mandatory Packages:
mysql
Default Packages:
MySQL-python
libdbi-dbd-mysql
mysql-connector-odbc
mysql-server
perl-DBD-MySQL
unixODBC
Optional Packages:
mod_auth_mysql
mysql-bench
mysql-connector-odbc64
mysql-devel
php-mysql
qt-MySQL
So, I guess my question is how I should proceed. Do a replace on mysql-libs first (as a response to the error message about conflicts), then do a replace on mysql-server? Or can I replace these in the same yum command, like you normally can do with a yum install?
Many thanks for your help.
-----Original Message-----
From: BJ Dierkes [mailto:wdierkes@xxxxxxxxx]
Sent: Thursday, July 19, 2012 7:27 PM
To: Chris Adams
Cc: ius-community@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Ius-community] attempting to upgrade mysql-server using ius repo
Yum replace should help:
$ sudo yum install yum-plugin-replace
$ yum replace mysql --replace-with mysql55
Does that work?
---
BJ Dierkes
Linux Systems Developer III - [RH]acker
OS Deployment Services
Rackspace Hosting
On Thursday, July 19, 2012 at 2:46 PM, Chris Adams wrote:
>
> Thank you for your reply:
>
>
>
>
> I thought I had tried using the mysql55 and mysql-server55. Anyway, when I did, it found something, but eventually resulted in this (a sample of the error message):
>
>
>
>
> Transaction Check Error:
>
>
> file /etc/my.cnf from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386
>
>
> file /usr/lib/mysql/libmysqlclient.so.18.0.0 from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386
>
>
> file /usr/share/mysql/czech/errmsg.sys from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386
>
>
> file /usr/share/mysql/danish/errmsg.sys from install of mysql55-libs-5.5.25-1.ius.el5.i386 conflicts with file from package mysql-libs-5.5.20-1.el5.remi.i386
>
>
>
>
> Would the yum-plugin-replace deal with this?
>
>
>
>
> Oh, and yes, I made sure that I copied databases and schema before attempting this.
>
>
>
>
>
>
>
>
> Christopher Adams
>
>
> Library Systems Coordinator
>
>
> Oregon State Library
>
>
> chris.a.adams@xxxxxxxxxxx (mailto:chris.a.adams@xxxxxxxxxxx)
>
>
> 503-378-5031
>
>
> 503-932-1004 (IT support)
>
>
>
>
>
> From: Joshua Rusch [mailto:jdr@xxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, July 19, 2012 12:41 PM
> To: Chris Adams
> Subject: RE: attempting to upgrade mysql-server using ius repo
>
>
>
>
>
>
> The packages in IUS are named differently so they don’t automatically upgrade any core redhat/centos packages.
>
>
>
>
> You’re looking for mysql55 and mysql55-server packages.
>
>
>
>
> There is a package in IUS, yum-plugin-replace, that may assist you in upgrading a package that was named differently like this though I personally haven’t tried it. Maybe one of the maintainers of IUS can give you more specific instructions.
>
>
>
>
> In any case, since you’re likely dealing with an important database, make sure you back up before attempting.
>
>
>
>
> -Josh
>
>
>
>
> From: ius-community-bounces+jdr=alexanderinteractive.com@xxxxxxxxxxxxxxxxxxx (mailto:ius-community-bounces+jdr=alexanderinteractive.com@xxxxxxxxxxxxxxxxxxx) [mailto:ius-community-bounces+jdr=alexanderinteractive.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Chris Adams
> Sent: Thursday, July 19, 2012 2:50 PM
> To: ius-community@xxxxxxxxxxxxxxxxxxx (mailto:ius-community@xxxxxxxxxxxxxxxxxxx)
> Subject: [Ius-community] attempting to upgrade mysql-server using ius repo
>
>
>
>
>
>
> Hello,
>
>
>
>
> I just joined this group and have a question. I am trying to update mysql-server 5.5.20 to 5.5.25. I added the ius repos and then issue a command to see what mysql components are available:
>
>
>
>
> yum --enablerepo=ius list mysql mysql-server
>
>
>
>
> The results are this:
>
>
>
>
> mysql.i386 5.5.20-1.el5.remi installed
>
>
> mysql-server.i386 5.5.20-1.el5.remi installed
>
>
>
>
> I have gone to the ius website and checked the repos and find 5.5.24 here:
>
>
>
>
> http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/repoview/applications.databases.group.html
>
>
>
>
> What am I missing that will enable me to do a regular yum update using the ius repository so that I can upgrade mysql-server.
>
>
>
>
> Many thanks.
>
>
>
>
>
>
> mysql55-server-5.5.24-1.ius.el5.x86_64 (http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/mysql55-server-5.5.24-1.ius.el5.x86_64.rpm)
>
>
>
>
>
>
> Christopher Adams
>
>
> Library Systems Coordinator
>
>
> Oregon State Library
>
>
> chris.a.adams@xxxxxxxxxxx (mailto:chris.a.adams@xxxxxxxxxxx)
>
>
> 503-378-5031
>
>
> 503-932-1004 (IT support)
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ius-community
> Post to : ius-community@xxxxxxxxxxxxxxxxxxx (mailto:ius-community@xxxxxxxxxxxxxxxxxxx)
> Unsubscribe : https://launchpad.net/~ius-community
> More help : https://help.launchpad.net/ListHelp
References