cabal install cabal-install with the latest HP on Mac OS X

Yitzchak Gale gale at
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 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:

Downloading time-1.1.4...
<command line>: cannot satisfy -package Cabal-
    Cabal- is unusable due to
missing or recursive dependencies:

Note that process- and Cabal- are already
installed globally as part of the platform. Another copy of
process- had been installed in userland during this
problematic run. Cabal- 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 mailing list