← Back to team overview

ius-community team mailing list archive

Re: attempting to upgrade mysql-server using ius repo

 

I believe it adds a replace command to yum. I've started installing it on my systems but never actually messed around with it. But yes, I'd expect those errors if you just tried to install the mysql55 packages.

-Josh

From: 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 3:47 PM
To: ius-community@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Ius-community] attempting to upgrade mysql-server using ius repo

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]<mailto:[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)


References