Can' Install EPEL in VirtualBox VMs

General support questions
Post Reply
polarorbit
Posts: 3
Joined: 2018/02/15 04:33:18

Can' Install EPEL in VirtualBox VMs

Post by polarorbit » 2018/02/15 05:06:20

I built several VMs using CentOS 7 minimal and everything ISOs and none of them will install EPEL. When I do:
# yum --enablerepo=extras install epel-release

I get this:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Nothing to do

However, # yum repolist shows this:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
repo id repo name status
base/7/i386 CentOS-7 - Base 7,265
centosplus/7/i386 CentOS-7 - Plus 0
extras/7/i386 CentOS-7 - Extras 0
updates/7/i386 CentOS-7 - Updates 1,332
repolist: 8,597

These are clean installations with nothing else installed yet. Can someone explain why:
1. Why do Plus and Extras show status of 0?
2. Why won't Epel install?

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Can' Install EPEL in VirtualBox VMs

Post by toracat » 2018/02/15 06:30:19

Looks like you have installed the 32-bit version (i386) of CentOS-7. EPEL provides x86_64 only.
CentOS Forum FAQ

polarorbit
Posts: 3
Joined: 2018/02/15 04:33:18

Re: Can' Install EPEL in VirtualBox VMs

Post by polarorbit » 2018/02/15 17:51:45

Holy cow that's embarrassing! I spent 2 hours trying to figure that out last night and I never noticed I grabbed the wrong ISO. I just rebuilt the VM and EPEL installed just fine.

Thanks!

Post Reply