title: Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
body: <p>i have a problems with yum update httpd</p>
  
  <p>my server is CentOS 5.11</p>
  
  <p>i get this error :</p>
  
  <pre><code>[root@pbx5 ~]# yum install httpd
  Loaded plugins: kmod
  Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&amp;arch=x86_64&amp;repo=os error was
  [Errno 4] IOError: &lt;urlopen error (-3, 'Temporary failure in name resolution')&gt;
  http://vault.centos.org/5.11/os/i386/repodata/repomd.xml: [Errno 4] IOError: &lt;urlopen error (-3, 'Temporary failure in name resolution')&gt;
  Trying other mirror.
  Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
  [root@pbx5 ~]#
  </code></pre>
  
  <p>here my repo CentOS-Base.repo</p>
  
  <pre><code>name=CentOS-$releasever - Base
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=os
  #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
  baseurl=http://vault.centos.org/5.11/os/i386/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  
  #released updates
  [updates]
  name=CentOS-$releasever - Updates
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=updates
  #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
  gpgcheck=1
  enabled=0
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  
  #additional packages that may be useful
  [extras]
  name=CentOS-$releasever - Extras
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=extras
  #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
  baseurl=http://vault.centos.org/5.11/extras/i386/
  gpgcheck=1
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
  </code></pre>
  
  <p>please help me.
  Thanks.</p>