Chad Scherrer
Chad Scherrer

Reputation: 773

cabal can't read bytestring cabal file, with ghc 7.4.1

I just upgraded from GHC 7.2.2 to 7.4.1 on 32-bit linux. The install went fine, but cabal-install is not happy:

$ 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"

Here's the cabal version I'm running:

$ cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library

Thanks!

Upvotes: 7

Views: 787

Answers (2)

wuxb
wuxb

Reputation: 2612

run this after you run 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

Upvotes: 4

alias
alias

Reputation: 30525

There's a workaround through here: http://www.haskell.org/pipermail/haskell-cafe/2012-February/099077.html

Upvotes: 5

Related Questions