我刚刚在32位linux上从GHC 7.2.2升级到7.4.1。安装很顺利,但是cabal-install并不高兴:
$ cabal update
Downloading the latest package list from hackage.haskell.org
$ cabal install repa
Resolving dependencies...
cabal: Couldn't read cabal file "bytestring/0.9.2.1/bytestring.cabal"
这是我正在运行的阴谋版本
$ cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library
谢谢!
答案 0 :(得分:5)
答案 1 :(得分:4)
运行cabal update
后运行此代码:
tar -f ~/.cabal/packages/hackage.haskell.org/00-index.tar --delete bytestring/0.9.2.0
tar -f ~/.cabal/packages/hackage.haskell.org/00-index.tar --delete bytestring/0.9.2.1