[Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread 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?

(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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread Maciej Podgurski

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


Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread 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?

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


Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread Maciej Podgurski

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


Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread 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 maciej.podgur...@googlemail.com
 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




-- 
http://adoseoflogic.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread 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 maciej.podgur...@googlemail.com

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


Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread Daniel Kahlenberg

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
maciej.podgur...@googlemail.com

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


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe