haskel-plataform を更新したところ、cabal の更新が行われ、更新する必要がある新しいバージョンの cabal-install があることが通知されました。そこで、cabal install cabal-install を実行して以下を取得します。
cabal: The following installed packages are broken because other packages they
depend on are missing. These broken packages must be rebuilt before they can
be used.
package random-1.0.1.1 is broken due to missing package
base-4.5.1.0-47f48c3ae7f8256a66a23e9dfe22eefc
cabal: Error: some packages failed to install:
cabal-install-1.16.0.2 failed during the configure step. The exception was:
ExitFailure 1
問題は、cabal install random を実行すると、そのバージョンの random が既にインストールされていることがわかります。
=> cabal install random
Resolving dependencies...
All the requested packages are already installed:
random-1.0.1.1
何が問題なのか、どのように修正すればよいのか途方に暮れています