[Haskell-cafe] Re: Cabal update problem

Maciej Podgurski maciej.podgurski at googlemail.com
Fri Feb 19 10:11:33 EST 2010


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 at haskell.org
>>> http://www.haskell.org/mailman/listinfo/haskell-caf
>>>       


More information about the Haskell-Cafe mailing list