title: Failure from epel with yum command
body: <p>Thank you for coming to try to solve my problem. I have seen a lot of solutions about a failure using the yum command but until now, these solutions didn't work with me.</p>
  
  <p>First of all, here is some information about the situation :
  I'm working with a RedHat Linux 7.2-11, using a proxy (because of the very secured network of my firm) so I already modified etc/sysconfig/rhn/up2date, etc/wgetrc and etc/yum.conf files with the http_proxy, proxy_user and proxy_password !</p>
  
  <p>Then, I'm connected as root and I tried to download python-pip doing these command : </p>
  
  <pre><code>sudo yum install python-pip
  </code></pre>
  
  <p>I had the following error :</p>
  
  <pre><code>No package python-pip available
  </code></pre>
  
  <p>Exactly the same error when trying to install epel-release before python-pip.
  Then I did the following :</p>
  
  <pre><code>yum install httpd php php-gd php-mysql
  </code></pre>
  
  <p>Finally, I downloaded and installed epel-release with these commands in /tmp :</p>
  
  <pre><code>wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  sudo yum install epel-release-latest-7.noarch.rpm
  </code></pre>
  
  <p>Everything was ok !</p>
  
  <p>Here is the problem. After that, I tried again these commands : </p>
  
  <pre><code>sudo yum install python-pip
  sudo yum install -y python-pip
  </code></pre>
  
  <p>The first error was : </p>
  
  <pre><code>One of the configured repositories failed (Unknown),
  and yum doesn't have enough cached data to continue. At this point the only
  safe thing yum can do is fail. There are a few ways to work "fix" this:
  ........some tips (1 to 5)........
  Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
  </code></pre>
  
  <p>So I followed some instructions and modified epel.repo and epel-testing.repo commenting all "mirror" lines and uncommenting all "baseurl" lines.
  So, now, when I try to install python-pip again I have this error :</p>
  
  <pre><code>Loaded plugins: rhnplugin, search-disabled-repos
  This system is receiving updates from RHN Classic or Red Hat Satellite.
  http://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 407 - Proxy Authentication Required
  Trying other mirror.
  
  
  One of the configured repositories failed (Extra Packages for Enterprise Linux 7 - x86_64),
  and yum doesn't have enough cached data to continue. At this point the only
  safe thing yum can do is fail. There are a few ways to work "fix" this:
  
  .........some tips (1 to 5).......
  
  failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.
  http://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 407 - Proxy Authentication Required
  </code></pre>
  
  <p>Please do you know how to solve this issue, or do you have any idea ?
  It seems to be because of the proxy but I already configured the three files as said on top of my message.</p>
  
  <p>Thank you for your help ! :)</p>