
Hi, 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? Best wishes, Maciej

Maciej Podgurski schrieb:
Hi,
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?
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

Am 19.02.2010 12:57 schrieb Christian Maeder:
Maciej Podgurski schrieb:
Hi,
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?
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?
Removing this file doesn't help. The old version was cabal-install-0.6.2 + 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 be savely deleted and will be downloaded again if needed.)
Which architecture you're on?
Windows XP Best wishes, Maciej
Cheers Christian
Best wishes,
Maciej
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-caf

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:
Hi,
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?
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?
Removing this file doesn't help. The old version was cabal-install-0.6.2 + 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 be savely deleted and will be downloaded again if needed.)
Which architecture you're on?
Windows XP
Best wishes,
Maciej
Cheers Christian
Best wishes,
Maciej
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-caf

Am 19.02.2010 15:29 schrieb Christian Maeder:
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?
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.
Good luck Christian
Maciej Podgurski schrieb:
Am 19.02.2010 12:57 schrieb Christian Maeder:
Maciej Podgurski schrieb:
Hi,
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?
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?
Removing this file doesn't help. The old version was cabal-install-0.6.2 + 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 be savely deleted and will be downloaded again if needed.)
Which architecture you're on?
Windows XP
Best wishes,
Maciej
Cheers Christian
Best wishes,
Maciej
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-caf

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
On 19 February 2010 16:11, Maciej Podgurski wrote: Am 19.02.2010 15:29 schrieb Christian Maeder: 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? 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. Good luck Christian Maciej Podgurski schrieb: Am 19.02.2010 12:57 schrieb Christian Maeder: Maciej Podgurski schrieb: Hi, 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? 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? Removing this file doesn't help. The old version was cabal-install-0.6.2
+ 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 be
savely deleted and will be downloaded again if needed.) Which architecture you're on? Windows XP 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

But the platform only includes cabal-install-0.6.2. My intention was getting the merge-all-package-documentation-into-single-html feature :-) Best wishes, Maciej Am 19.02.2010 16:50 schrieb Bas van Gijzel:
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
On 19 February 2010 16:11, Maciej Podgurski
wrote:
Am 19.02.2010 15:29 schrieb Christian Maeder:
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?
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.
Good luck
Christian
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Hello, I guess I did the follwoing to bypass this problems. With the platform provided* cabal.exe at first place in the PATH variable, I run: - cabal update - cabal install cabal-install-0.6.4 The only thing remaining was, I had the Cabal-1.8.0.2 and related entries in my local package.conf file then, from the former installation of cabal-install-0.8.0 - which failed when doing `cabal update` as you described. I decided to remove those entries/packages, although they seemed to cause no issues, when blindly testing some package installations with cabal-install-0.6.4. Cheers Daniel * folder %HASKELL_PLATFORM%\extralibs\bin Am 19.02.2010 17:15, schrieb Maciej Podgurski:
But the platform only includes cabal-install-0.6.2. My intention was getting the merge-all-package-documentation-into-single-html feature :-)
Best wishes,
Maciej
Am 19.02.2010 16:50 schrieb Bas van Gijzel:
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
On 19 February 2010 16:11, Maciej Podgurski
wrote:
Am 19.02.2010 15:29 schrieb Christian Maeder:
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?
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.
Good luck
Christian
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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
Would you please send the output of `cabal update -v3' command? -- vvv

Am 19.02.2010 13:55 schrieb Valery V. Vorotyntsev:
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
Would you please send the output of `cabal update -v3' command?
Downloading the latest package list from hackage.haskell.org Sending: GET /packages/archive/00-index.tar.gz HTTP/1.1 Host: hackage.haskell.org User-Agent: cabal-install/0.8.0 Creating new connection to hackage.haskell.org Received: HTTP/1.1 200 OK Date: Fri, 19 Feb 2010 13:28:11 GMT Server: Apache/2.2.9 (Debian) mod_python/3.3.1 Python/2.5.2 Last-Modified: Fri, 19 Feb 2010 11:18:51 GMT ETag: "1bda0c4-167869-47ff23f7fdcc0" Accept-Ranges: bytes Content-Length: 1472617 Content-Type: application/x-tar Content-Encoding: x-gzip Downloaded to C:\Dokumente und Einstellungen\Maciej\Anwendungsdaten\cabal\packages\hackage.haskell.org\00-index.tar.gz cabal: Codec.Compression.Zlib: premature end of compressed stream Best wishes, Maciej

On Fri, 2010-02-19 at 12:21 +0100, Maciej Podgurski wrote:
Hi,
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?
This is a public service announcement: Windows users should upgrade to cabal-install-0.8.2 Windows binary available here http://haskell.org/cabal/download.html I'll also be included in the upcoming release of the Haskell Platform. Sorry about the silly bug. Duncan
participants (6)
-
Bas van Gijzel
-
Christian Maeder
-
Daniel Kahlenberg
-
Duncan Coutts
-
Maciej Podgurski
-
Valery V. Vorotyntsev