LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2012, 08:11 AM   #1
Alexrkkl
LQ Newbie
 
Registered: Jun 2011
Location: Birmingham, England
Distribution: RedHat Enterprise 5.6
Posts: 28

Rep: Reputation: Disabled
Changing RHEL 6 Yum repository


Hi there,

I want to change my yum repository to RHEL 5 repository from RHEL 6 is this possible if so how do I go about doing it?

The reason I am doing this is because I have downloaded and installed a previous version of MySQL but they only had RHEL5.rpm. Now when I try to install Percona toolkit I get dependency errors and trying to downloading and finding rpm's for those dependency's seems to be a hard task.

There is no option to take down MySQL and upgrade as the server is a live server and is the Master in replication configuration.

Would be grateful for any help thanks in advance.

Alex.
 
Old 06-12-2012, 08:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You're going to work around installing the wrong packages by going on to install more and more and more incorrect packages?? I think it's possible, but you'd need to do some fairly offensive tricking of RHN into thinking your system is something it isn't. If it HAS to be done then I would just manually find the RPM's one by one. I wouldn't want to deliberately wreck yum / rhn.

At some point you'll hit a really nasty dependency and find you're being told your version of glibc is incompatible or something. Do the right thing and fix MySQL somehow.
 
Old 06-12-2012, 08:27 AM   #3
Alexrkkl
LQ Newbie
 
Registered: Jun 2011
Location: Birmingham, England
Distribution: RedHat Enterprise 5.6
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
You're going to work around installing the wrong packages by going on to install more and more and more incorrect packages?? I think it's possible, but you'd need to do some fairly offensive tricking of RHN into thinking your system is something it isn't. If it HAS to be done then I would just manually find the RPM's one by one. I wouldn't want to deliberately wreck yum / rhn.

At some point you'll hit a really nasty dependency and find you're being told your version of glibc is incompatible or something. Do the right thing and fix MySQL somehow.
Thanks for the quick reply I was afraid you may say that, I cant't really change MySQL seeing as we need the specific version 5.1.44 and that doesn't exist for RHEL6.

I guess I'll have to try work around it but as you said I think I will hit some nasty dependency.

-Alex
 
Old 06-12-2012, 08:35 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why do you need that specific version?
 
Old 06-12-2012, 08:38 AM   #5
Alexrkkl
LQ Newbie
 
Registered: Jun 2011
Location: Birmingham, England
Distribution: RedHat Enterprise 5.6
Posts: 28

Original Poster
Rep: Reputation: Disabled
Because the MySQL replication slaves use that version and a MYSQL replication master needs either the same MySQL version or lower in order for replication to be at it's best.

Quote:
Originally Posted by acid_kewpie View Post
why do you need that specific version?
 
  


Reply

Tags
mysql, redhat, yum, yum repository



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
RHEL 5.3 Yum Repository, xen & phpMyAdmin byon Red Hat 7 07-12-2011 02:10 PM
changing the rhel 5.3 repository to centos5.3 repository subramani Linux - Software 3 03-08-2011 02:13 AM
How to set yum repository on RHEL 5.1 ?? bilal_mld Linux - Newbie 6 06-24-2010 01:39 PM
yum repository for RHEL 3 cccc Red Hat 8 11-22-2008 02:48 PM
after updating RHEL AS 4 w/ CentOS' YUM repository.... guest cAos 2 03-17-2005 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration