[Haskell-cafe] Re: Cabal update problem

Bas van Gijzel nenekotan at gmail.com
Fri Feb 19 10:50:54 EST 2010


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.podgurski at 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 at haskell.org
>>>> http://www.haskell.org/mailman/listinfo/haskell-caf
>>>>
>>>>
>>> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
http://adoseoflogic.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100219/b02a2a57/attachment.html


More information about the Haskell-Cafe mailing list