title: mysterious cabal-install problems
body: <p>With a clean install of the "Haskell Platform". (OS X Snow-Leopard &amp; Platform 2010.1.0.1), doing this causes simple sequence causes very weird <code>cabal install</code> behaviour:</p>
  
  <pre><code>$ cabal install time
  
  $ cabal install random
  
  $ ghc-pkg list random
  /Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.1/package.conf.d
     random-1.0.0.2
  /Users/yairc/.ghc/i386-darwin-6.12.1/package.conf.d
     random-1.0.0.2
  </code></pre>
  
  <p><code>random-1.0.0.2</code> is installed twice in my system. and now doing <code>cabal install random</code> reinstalls <code>random-1.0.0.2</code> every time.</p>
  
  <p>Looks like <code>random</code> depends on <code>time</code>, and cabal wants to reinstall it after there's a new version of <code>time</code> available? And because of two <code>random-1.0.0.2</code> cabal is confused and always thinks it's not up to date because it's looking at the first one?</p>
  
  <p><code>ghc-pkg check</code> finds no errors.</p>