LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing RHEL 6 Yum repository (http://www.linuxquestions.org/questions/linux-newbie-8/changing-rhel-6-yum-repository-4175411022/)

Alexrkkl 06-12-2012 08:11 AM

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.

acid_kewpie 06-12-2012 08:22 AM

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.

Alexrkkl 06-12-2012 08:27 AM

Quote:

Originally Posted by acid_kewpie (Post 4701440)
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

acid_kewpie 06-12-2012 08:35 AM

why do you need that specific version?

Alexrkkl 06-12-2012 08:38 AM

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 (Post 4701449)
why do you need that specific version?



All times are GMT -5. The time now is 02:37 AM.