cabal install cabal-install with the latest HP on Mac OS X
gale at sefer.org
Tue Mar 15 09:24:03 CET 2011
I installed the 64-bit version of the recent
Haskell Platform release on Mac OS X 10.6.6.
$ cabal --version
cabal-install version 0.10.2
using version 188.8.131.52 of the Cabal library
As always in the past, and as cabal install itself
has often suggested, the first thing I did was to
run 'cabal install cabal-install' to make sure I
have the latest version.
To my surprise, cabal install began installing
an *older* version of itself, together with older
versions of dependent libraries to support that.
I didn't really mind, because I could always just
remove the symlink to the older-versioned cabal
executable when it finished, so I let it run its course
to avoid leaving a mess by aborting. However, after
a while, the installation process failed with the message:
<command line>: cannot satisfy -package Cabal-184.108.40.206:
Cabal-220.127.116.11-6289829715de7a109def1f0c286a5dc4 is unusable due to
missing or recursive dependencies:
Note that process-18.104.22.168 and Cabal-22.214.171.124 are already
installed globally as part of the platform. Another copy of
process-126.96.36.199 had been installed in userland during this
problematic run. Cabal-188.8.131.52 was also installed in userland.
Why did cabal try to downgrade itself to an older version,
and why did it get so confused while trying to do so?
More information about the Libraries