title: Ambari server Installation in Ubuntu 12.04
body: <p>I want to install Ambari server, following <a href="https://cwiki.apache.org/confluence/display/AMBARI/Install+Ambari+1.7.0+from+Public+Repositories" rel="nofollow">this</a> guide.</p>
  
  <p>When I perform the step 1</p>
  
  <blockquote>
    <p>Download the Ambari repository on the Ambari Server host</p>
    
    <p>For Ubuntu:
      cd /etc/apt/sources.list.d
      sudo wget <a href="http://public-repo-1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list" rel="nofollow">http://public-repo-1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list</a></p>
    
    <p>wget -nv <a href="http://public-repo-1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list" rel="nofollow">http://public-repo-1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list</a> -O /etc/apt/sources.list.d/ambari.list 
    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD 
    apt-get update</p>
  </blockquote>
  
  <p>and step 2 </p>
  
  <blockquote>
    <p>Install Ambari Server from the public Ambari repository:
    For Ubuntu:
      sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD</p>
    
    <p>sudo apt-get update</p>
    
    <p>sudo apt-get install ambari-server</p>
  </blockquote>
  
  <p>I get the following error message</p>
  
  <pre><code>E: Unable to locate package ambari
  </code></pre>