title: Homebrew No Such Keg
body: <p>When I was trying to fix a problem with</p>
  
  <pre><code>brew uninstall gcc
  </code></pre>
  
  <p>I got the error </p>
  
  <pre><code>No such keg: /usr/local/Cellar/gcc
  </code></pre>
  
  <p>But actually I have gcc installed as</p>
  
  <pre><code>which gcc
  /usr/bin/gcc
  </code></pre>
  
  <p>It seems like brew is pointing somewhere empty. i.e.I also have python installed under <code>/usr/bin/</code> but <code>brew info python</code> showed <code>Not installed</code>.</p>
  
  <p>How can I fix this to link all these tools to brew? Thanks</p>