title: How to install apache2 in Ubuntu
body: <p>I am trying to install apache2 in Ubuntu 12. I installed Ubuntu in Virtual Machine. I have problems. First, my system can not update or upgrade. When I type:</p>
  
  <p>I receive a lot of errors like this:</p>
  
  <pre><code>Err http://security.ubuntu.com quantal-security/main Sources
    404  Not Found [IP: 91.189.91.14 80]
  </code></pre>
  
  <p>At the final line, this is the result:</p>
  
  <pre><code>W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.13 80]
  
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  </code></pre>
  
  <p>Second, when I try to install apache2. I type:</p>
  
  <pre><code>sudo apt-get install apache2 apache2-doc apache2-utils
  </code></pre>
  
  <p>Again, it fails. The result:</p>
  
  <p>e@ubuntu:/etc$ sudo apt-get install apache2 apache2-doc apache2-utils
  Reading package lists... Done
  Building dependency tree<br>
  Reading state information... Done
  E: Unable to locate package apache2
  E: Unable to locate package apache2-doc
  E: Unable to locate package apache2-utils
  e@ubuntu:/etc$ </p>
  
  <p>Can you help me plz?</p>
  
  <p><strong>EDIT:</strong>
  This command does not work either.</p>
  
  <pre><code>sudo apt-get update &amp;&amp; sudo apt-get upgrade
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.24 80]
  
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  </code></pre>