我刚刚更新了 haskel-platform 进行了 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
我不知道是什么问题或如何解决它