[Haskell-cafe] Re: Cabal update problem

Christian Maeder Christian.Maeder at dfki.de
Fri Feb 19 06:57:14 EST 2010

Maciej Podgurski schrieb:
> Hi,
> after updating to cabal-install-0.8.0/Cabal- with GHC 6.10.4, I
> always get an error when updating the package list:
>    > cabal update
>    Downloading the latest package list from hackage.haskell.org
>    cabal: Codec.Compression.Zlib: premature end of compressed stream
> Is there a way to fix this without rebuilding from the latest darcs repo?

Does removing ~/.cabal/packages/hackage.haskell.org/00-index.tar.gz
help? Did you overwrite your old cabal-binary. If not, does this binary
also fail?

(I think everything under ~/.cabal/packages/hackage.haskell.org can be
savely deleted and will be downloaded again if needed.)

Which architecture you're on?

Cheers Christian

> Best wishes,
> Maciej

More information about the Haskell-Cafe mailing list