No rpms for RHEL 6.2 ?

Asked by Ram Venkatapathy

No rpms for RHEL 6.2 ?

Question information

Language:
English Edit question
Status:
Answered
For:
MySQL patches by Codership Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Yurchenko (ayurchen) said :
#1

Not at the moment. RHEL5 rpms should work just fine.

Revision history for this message
Henrik Ingo (hingo) said :
#2

Note that Percona releases rhel6 packages of Percona XtraDB Cluster: http://www.percona.com/downloads/Percona-XtraDB-Cluster/LATEST/RPM/rhel6/x86_64/ (...which is Galera based on Percona Server instead of MySQL)

Revision history for this message
Daniël van Eeden (dveeden) said :
#3

There is a problem with the rhel5 packages if you install it on oracle linux 6:

crontabs depends on postfix (/usr/bin/sendmail)
postfix depends on mysql-libs (libmysqlclient.so.16)

The Galera packages do not provide a mysql-libs and do conflict with mysql-libs.

  file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.28_wsrep_23.7-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.66-2.el6_3.x86_64

Maybe this could be solved by a compatibility package?

I've solved this by removing postfix and installing sendmail, which also provides the /usr/bin/sendmail file. Sendmail doesn't depend on mysql-libs.

Revision history for this message
Daniël van Eeden (dveeden) said :
#4

It works when I install Oracle's MySQL-shared-compat-5.5.29-1.linux2.6.x86_64 (not part of oel6)

Revision history for this message
Daniël van Eeden (dveeden) said :
#5

Installing the oel6 mysql client or the oracle mysql mysql client fails however. The codership packages do not seem to include a client.

[root@galera1 ~]# yum install mysql
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.1.66-2.el6_3 will be installed
--> Processing Conflict: mysql-5.1.66-2.el6_3.x86_64 conflicts MySQL
--> Finished Dependency Resolution
Error: mysql conflicts with MySQL-server
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@galera1 ~]# rpm -ivh MySQL-client-5.5.29-1.linux2.6.x86_64.rpm
error: Failed dependencies:
 mysql conflicts with MySQL-client-5.5.29-1.linux2.6.x86_64
[root@galera1 ~]# rpm -qa | grep -i mysql
MySQL-server-5.5.28_wsrep_23.7-1.rhel5.x86_64
MySQL-shared-compat-5.5.29-1.linux2.6.x86_64

Revision history for this message
Alex Yurchenko (ayurchen) said :
#6

Hi Daniel,

1) There is incompatibility between OEL6 MySQL RPMs and official Oracle MySQL RPMs (if that makes sense to you). With Oracle and RHEL (OEL is just a copy of RHEL) having different RPMs breakup we can only follow one of them (for one, OEL/RHEL MySQL versions are always grossly outdated), so we use spec file included in MySQL sources. It is incompatible with RHEL and I don't know who is to blame for that.

2) Oracle MySQL RPMs built for RHEL5 and RHEL6 seem to be incompatible between themselves. So it is impossible to install MySQL-client RPM built for RHEL6 alongside MySQL-server RPM built for RHEL5. In the end you have 3 types of MySQL RPMs:

a) coming with RHEL/OEL (should be discarded right away)
b) coming from www.mysql.com, built for RHEL6 (incompatible with c)
c) coming from www.mysql.com, built for RHEL5 (incompatible with b)

In the end they provide the same functionality for postfix and other programs. The thing is that at first you have to uninstall one set and install another.

So, to use MySQL-server RPM built for RHEL5, you need to uninstall all RHEL6 mysql packages, and install corresponding RHEL5 packages from www.mysql.com.

3) We are looking into providing RHEL6 RPMs, but for now this is all we got.

Can you help with this problem?

Provide an answer of your own, or ask Ram Venkatapathy for more information if necessary.

To post a message you must log in.