2

I've just installed the epel-release repo via this link :

http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm

, in order to install python-pip on my CentOS 7 VM. But after tha when I want to use yum, it gives me this error :

  Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=i386 error was 
    No repomd file

It seems to miss the repomd.xml file in /var/cache/yum/i386/7/epel/

Does someone know how to fix that ?

Pierre B
  • 321
  • 1
  • 2
  • 7
  • 1
    Which arch are you trying to install this on, `i386` arch or `x86_64`? I think epel doesn't support `i386` anymore. – iamauser Apr 06 '17 at 13:47

1 Answers1

1

https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=i386

If you download this metalink file and look inside, you will see a line like this,

# repo = epel-7 arch = i386 error: invalid repo or arch

and a few lines that says the following:

# repo=epel-7&arch=aarch64
# repo=epel-7&arch=ppc64
# repo=epel-7&arch=ppc64le
# repo=epel-7&arch=x86_64

AFAIK, epel and CentOS-7 don't support i386 anymore. You can still find some i386 RPMs under CentOS-7 altarch here, but that's about it.

For epel it provides all the source RPMs here, which can be used to build i386 RPMs.

iamauser
  • 11,119
  • 5
  • 34
  • 52