title: installation of build-essential fails in Ubuntu
body: <p>I'm trying to update my <code>gcc</code>, so <a href="http://www.linuxforums.org/forum/ubuntu-help/104156-gcc-installation-ubuntu.html" rel="nofollow noreferrer">Linux Forums</a> recommended that I would run <code>sudo apt-get install build-essential</code>. Here's the output when I try to run <code>sudo apt-get install build-essential</code>:</p>
  
  <blockquote>
    <p>The following packages have unmet
    dependencies:   </p>
    
    <p>bunch of packages listed here</p>
    
    <p>E: Unmet dependencies. Try 'apt-get -f install'
    with no packages (or specify a
    solution).</p>
  </blockquote>
  
  <p>I wasn't sure if listing the actual missing packages would affect your advice. Please tell me how to proceed.</p>
  
  <p>Note: I tried this command below but there were too missing dependencies.</p>
  
  <pre><code>sudo apt-get -f install build-essential
  </code></pre>
  
  <p>Thanks</p>