I had the same problem on Windows XP when doing cabal install cabal-install. I fixed it by just replacing the cabal-install executable by the old one used in the haskell platform.
Cheers,
Bas
Am 19.02.2010 15:29 schrieb Christian Maeder:Yes, I installed the latest versions of that packages. Now I tried to gradually go back to the versions before (HTTP-4000.0.9 to 4000.0.7 and zlib-0.5.2.0 to 0.5.0.0), without any success. Finally cabal-install made it at version 0.6.2, so the problem really seems to be at cabal-install-0.8.0.
Sorry, I've got no further idea (except reinstalling everything).
http://hackage.haskell.org/trac/hackage/ticket/562
may be related.
Did your installation of cabal-install-0.8.0 also reinstall HTTP and
zlib packages?
Good luck_______________________________________________
Christian
Maciej Podgurski schrieb:
Am 19.02.2010 12:57 schrieb Christian Maeder:
Maciej Podgurski schrieb:Removing this file doesn't help. The old version was cabal-install-0.6.2
Hi,Does removing ~/.cabal/packages/hackage.haskell.org/00-index.tar.gz
after updating to cabal-install-0.8.0/Cabal-1.8.0.2 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?
help? Did you overwrite your old cabal-binary. If not, does this binary
also fail?
+ Cabal-1.6.0.2 with GHC 6.10.3. I deleted it because I changed to GHC
6.10.4, but it worked fine 2 days ago.
(I think everything under ~/.cabal/packages/hackage.haskell.org can beWindows XP
savely deleted and will be downloaded again if needed.)
Which architecture you're on?
Best wishes,
Maciej
Cheers Christian
Best wishes,_______________________________________________
Maciej
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-caf
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe