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 126.96.36.199 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-188.8.131.52:
Cabal-184.108.40.206-6289829715de7a109def1f0c286a5dc4 is unusable due to
missing or recursive dependencies:
Note that process-220.127.116.11 and Cabal-18.104.22.168 are already
installed globally as part of the platform. Another copy of
process-22.214.171.124 had been installed in userland during this
problematic run. Cabal-126.96.36.199 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