LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-20-2013, 01:23 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Why is yum looking for i686 instead of amd64?


Why is yum looking for i686 instead of amd64?

Since I have a 64-bit OS:
Code:
[root@localhost ~]# file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
[root@localhost ~]#
Code:
[root@localhost ~]# /usr/bin/yum -y install MariaDB-server MariaDB-client MariaDB-devel MariaDB-compat MariaDB-shared
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * epel: mirrors.servercentral.net
 * extras: centos.corenetworks.net
 * updates: mirror.unl.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-client.i686 0:5.5.33a-1 will be installed
---> Package MariaDB-compat.i686 0:5.5.33a-1 will be installed
---> Package MariaDB-devel.i686 0:5.5.33a-1 will be installed
---> Package MariaDB-server.i686 0:5.5.33a-1 will be installed
---> Package MariaDB-shared.i686 0:5.5.33a-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================
 Package                                      Arch                               Version                                   Repository                             Size
=======================================================================================================================================================================
Installing:
 MariaDB-client                               i686                               5.5.33a-1                                 mariadb                               9.9 M
 MariaDB-compat                               i686                               5.5.33a-1                                 mariadb                               2.6 M
 MariaDB-devel                                i686                               5.5.33a-1                                 mariadb                               5.5 M
 MariaDB-server                               i686                               5.5.33a-1                                 mariadb                                33 M
 MariaDB-shared                               i686                               5.5.33a-1                                 mariadb                               1.0 M

Transaction Summary
=======================================================================================================================================================================
Install       5 Package(s)

Total download size: 52 M
Installed size: 203 M
Downloading Packages:
http://yum.mariadb.org/5.5/centos6-amd64/rpms/MariaDB-5.5.33a-centos6-i686-client.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://yum.mariadb.org/5.5/centos6-amd64/rpms/MariaDB-5.5.33a-centos6-i686-compat.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://yum.mariadb.org/5.5/centos6-amd64/rpms/MariaDB-5.5.33a-centos6-i686-devel.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://yum.mariadb.org/5.5/centos6-amd64/rpms/MariaDB-5.5.33a-centos6-i686-server.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://yum.mariadb.org/5.5/centos6-amd64/rpms/MariaDB-5.5.33a-centos6-i686-shared.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.


Error Downloading Packages:
  MariaDB-devel-5.5.33a-1.i686: failure: rpms/MariaDB-5.5.33a-centos6-i686-devel.rpm from mariadb: [Errno 256] No more mirrors to try.
  MariaDB-shared-5.5.33a-1.i686: failure: rpms/MariaDB-5.5.33a-centos6-i686-shared.rpm from mariadb: [Errno 256] No more mirrors to try.
  MariaDB-compat-5.5.33a-1.i686: failure: rpms/MariaDB-5.5.33a-centos6-i686-compat.rpm from mariadb: [Errno 256] No more mirrors to try.
  MariaDB-client-5.5.33a-1.i686: failure: rpms/MariaDB-5.5.33a-centos6-i686-client.rpm from mariadb: [Errno 256] No more mirrors to try.
  MariaDB-server-5.5.33a-1.i686: failure: rpms/MariaDB-5.5.33a-centos6-i686-server.rpm from mariadb: [Errno 256] No more mirrors to try.
Here is my repos.d file:
Code:
[root@localhost ~]# cat /etc/yum.repos.d/MariaDB.repo 
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
The actual file names have x86_64 instead of i686, which is why yum can't find them:
Code:
[ ]	MariaDB-5.5.33a-centos6-x86_64-client.rpm	20-Sep-2013 05:55 	10M	 
[ ]	MariaDB-5.5.33a-centos6-x86_64-common.rpm	20-Sep-2013 05:55 	23K	 
[ ]	MariaDB-5.5.33a-centos6-x86_64-compat.rpm	20-Sep-2013 05:55 	2.7M	 
[ ]	MariaDB-5.5.33a-centos6-x86_64-devel.rpm	20-Sep-2013 05:55 	5.7M	 
[ ]	MariaDB-5.5.33a-centos6-x86_64-server.rpm	20-Sep-2013 05:55 	34M	 
[ ]	MariaDB-5.5.33a-centos6-x86_64-shared.rpm	20-Sep-2013 05:55 	1.1M	 
[ ]	MariaDB-5.5.33a-centos6-x86_64-test.rpm	20-Sep-2013 05:55 	17M	 
[ ]	MariaDB-Galera-5.5.32-centos6-x86_64-server.rpm	30-Aug-2013 13:35 	20M	 
[ ]	galera-23.2.6-1.rhel6.x86_64.rpm	20-Sep-2013 05:55 	6.9M
TIA
 
Old 09-20-2013, 02:07 PM   #2
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Solved, I had to run:
Code:
yum clean all
 
Old 09-20-2013, 02:21 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Well, +1 for fixing your own stuff.
 
Old 09-20-2013, 02:45 PM   #4
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by Habitual View Post
Well, +1 for fixing your own stuff.
Hehe, I found a howto doc, and it had the same repo file that I had so I figured it was something with yum.
 
  


Reply



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
yum trying to install i686 openssl on i386 architecture???? abefroman Linux - Server 1 03-21-2011 05:25 PM
Debian AMD64 compiled kernel says its i686.....? R00ts Debian 13 03-13-2005 10:24 AM
i586/i686 on an AMD64 System bdprem Linux - General 4 02-01-2005 08:30 AM
kernel-0-2.6.6-1.427.i686 ... what is it? can yum handle it? clausawits Fedora 3 06-13-2004 11:08 AM
i686 apt or yum repositories justin_p Fedora 3 02-13-2004 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:56 AM.

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