title: Cabal claims it has updated itself but has not really
body: <p>Following the instructions from <a href="https://stackoverflow.com/questions/27887249/trying-out-cabal-sandbox-init-and-cabal-not-recognizing-the-command-sandbox" title="this post">this post</a> on how to update <code>cabal-install</code>, I seemed to be able to install the latest version (or at least some version <code>&gt; 1.18</code>, which is what I wanted.</p>
  
  <pre><code>$ cabal install Cabal cabal-install
  Resolving dependencies...
  Configuring cabal-install-1.22.6.0...
  Building cabal-install-1.22.6.0...
  Preprocessing executable 'cabal' for cabal-install-1.22.6.0...
  &lt;snip&gt;
  Linking dist/build/cabal/cabal ...
  Installing executable(s) in /home/kavi/.cabal/bin
  Installed cabal-install-1.22.6.0
  </code></pre>
  
  <p>However, when I tried <code>cabal sandbox</code>, it failed, so I checked <code>cabal --version</code>.</p>
  
  <pre><code>$ cabal --version
  cabal-install version 1.16.0.2
  using version 1.16.0 of the Cabal library 
  </code></pre>
  
  <p>As you can see, the version is not the one that cabal claimed to install.</p>
  
  <p>Adding <code>~/.cabal/bin</code> to my path did nothing to help. (Yes, I did restart my terminal).</p>
  
  <pre><code>$ echo $PATH
  &lt;snip&gt;:/home/kavi/.cabal/bin
  $ cabal --version
  cabal-install version 1.16.0.2
  using version 1.16.0 of the Cabal library 
  </code></pre>
  
  <p>I tried restarting my computer, but still:</p>
  
  <pre><code>$ cabal --version
  cabal-install version 1.16.0.2
  using version 1.16.0 of the Cabal library
  </code></pre>
  
  <p>I am using Ubuntu 14.04.</p>