yum Install on x86_64 CentOS 5.x
I am attempting to install MariaDB on a x86_64 server running CentOS 5.9. I followed the instructions for "Installing MariaDB with yum", created the MariaDB.repo file, however when I run yum, it wants to install i386 rpm files and not x86_64. I even attempted to modify the MariaDB.repo file and use baseurl = http://yum.mariadb.org/5.5/centos5-amd64 , however this did not work.
What can I do to correct this as I would like to do this all with yum.
Thanks, Chuck
Answer Answered by Elena Stepanova in this comment.
You definitely need to modify the repo file to state amd64, the example in the instruction is for x86, as the text says.
After you have modified MariaDB.repo file, please try to run yum clean all
I could easily reproduce the problem you are describing, on whatever reason yum remembers the old repo/packages when the repo file is modified from x86 to amd64. yum clean all
fixed it for me.
Strangely, switching from amd64 to x86 works right away, no cleanup needed.