title: yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: Updates-ambari-1.x. Please verify its path and try again
body: <p>To whom it may concern:</p>
  
  <p>I am running CentOS 6.5 on my server.
  I keep on receiving the following error when I type in yum update as the root user:</p>
  
  <pre><code>[root@dbtest /]# yum update
  Loaded plugins: fastestmirror, security
  Setting up Update Process
  Loading mirror speeds from cached hostfile
  
  epel/metalink                                            |  14 kB     00:00
   * epel: mirror.steadfast.net
   * passenger: mirror.hmdc.harvard.edu
     http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/repodata/repomd.xml: [Errno 14]
     PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
     Trying other mirror.
     Error: Cannot retrieve repository metadata (repomd.xml) for repository: Updates-ambari-1.x. Please
     verify its path and try again
  </code></pre>
  
  <p>I am using these two links to assist me:
  <a href="https://www.webmaster.net/fix-pycurl-error-22-the-requested-url-returned-error-404-not-found/" rel="nofollow noreferrer">https://www.webmaster.net/fix-pycurl-error-22-the-requested-url-returned-error-404-not-found/</a></p>
  
  <p>To the best of my knowledge the reason I think I am getting this error is because there is something wrong with the ambari.repo repository file under the /etc/yum.repos.d directory.</p>
  
  <p>My question is what can I do to fix the ambari.repo file, if anything, and what can I do so that I am able to successfully perform the yum update task without any errors?</p>
  
  <p>This is what is inisde the ambari.repo file. Any help can be greatly appreciated.</p>
  
  <p>One more thing I would like to mention is that I made changes to the CentOS-Base.repo file</p>