ius-community team mailing list archive
-
ius-community team
-
Mailing list archive
-
Message #00418
Re: attempting to upgrade mysql-server using ius repo
Thanks to all for your assistance. I was able to do a replace of mysql-libs and it upgraded/replaced mysql-server as well.
One concern: I read, I think on the IUS forum, that mysql-server 5.5.25-1 has a bug and some went back to 5.5.24.
From the dev.mysql.com site:
"MySQL 5.5.25 is superseded by MySQL 5.5.25a due to a regression bug that can cause excessive disk usage (for details, see Bug #65745). Current users of 5.5.25: Upgrade to 5.5.25a. Users contemplating an upgrade to 5.5.25: Upgrade to 5.5.25a instead."
Christopher Adams
Library Systems Coordinator
Oregon State Library
chris.a.adams@xxxxxxxxxxx
503-378-5031
503-932-1004 (IT support)
-----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
Follow ups
References