[Haskell-cafe] Cabal error installing Yesod and nehe-tuts on Haskell Platform 2012.2.0.0

Alexander Foremny alexanderforemny at gmail.com
Tue Jul 3 00:21:04 CEST 2012


Apparently package archives are retained by cabal.

Try deleting ~/.cabal/packages/hackage.haskell.org/zlib-conduit-0.4.0.2.tar.gz
and try again.

Regards
Alexander Foremny

2012/7/3 Eric Macaulay <elihulike at gmail.com>:
> I tried running cabal install again, but just got the same error.
>
>
> On Mon, Jul 2, 2012 at 10:34 PM, Alexander Foremny
> <alexanderforemny at gmail.com> wrote:
>>
>> Hello Eric,
>>
>> most packages fail to install because zlib-conduit fails to install.
>> The reason for this -- as can be seen in the last line -- is that the
>> tar archive from which the source is extracted is corrupted. Simply
>> run cabal install to try again. I suspect the source archives are
>> re-downloaded, but maybe someone can correct me if I'm wrong.
>>
>> Do you have any idea why those tar archives are corrupted? Maybe an
>> unstable internet connection or even hardware fault?
>>
>> Regards,
>> Alexander Foremny
>>
>> 2012/7/2 Eric Macaulay <elihulike at gmail.com>:
>> > Hello all!
>> >
>> > I trust tried to install yesod using "cabal install yesod-platform" but
>> > the
>> >  installation aborted with the following error:
>> >
>> >  cabal: Error: some packages failed to install:
>> >  authenticate-1.2.1.1 depends on zlib-conduit-0.4.0.2 which failed to
>> >  install.
>> >  http-conduit-1.4.1.10 depends on zlib-conduit-0.4.0.2 which failed to
>> >  install.
>> >  wai-extra-1.2.0.5 depends on zlib-conduit-0.4.0.2 which failed to
>> > install.
>> >  xss-sanitize-0.3.2 failed while unpacking the package. The exception
>> > was:
>> >  user error (truncated tar archive)
>> >  yesod-1.0.1.6 depends on zlib-conduit-0.4.0.2 which failed to install.
>> >  yesod-auth-1.0.2.1 depends on zlib-conduit-0.4.0.2 which failed to
>> > install.
>> >  yesod-core-1.0.1.2 depends on zlib-conduit-0.4.0.2 which failed to
>> > install.
>> >  yesod-default-1.0.1.1 depends on zlib-conduit-0.4.0.2 which failed to
>> >  install.
>> >  yesod-form-1.0.0.4 depends on zlib-conduit-0.4.0.2 which failed to
>> > install.
>> >  yesod-json-1.0.0.1 depends on zlib-conduit-0.4.0.2 which failed to
>> > install.
>> >  yesod-persistent-1.0.0.1 depends on zlib-conduit-0.4.0.2 which failed
>> > to
>> >  install.
>> >  yesod-platform-1.0.5 depends on zlib-conduit-0.4.0.2 which failed to
>> >  install.
>> >  yesod-routes-1.0.1.2 failed while unpacking the package. The exception
>> > was:
>> >  user error (truncated tar archive)
>> >  yesod-static-1.0.0.3 depends on zlib-conduit-0.4.0.2 which failed to
>> >  install.
>> >  zlib-conduit-0.4.0.2 failed while unpacking the package. The exception
>> > was:
>> >  user error (truncated tar archive)
>> >
>> > Any idea what's wrong?
>> > _______________________________________________
>> > Haskell-Cafe mailing list
>> > Haskell-Cafe at haskell.org
>> > http://www.haskell.org/mailman/listinfo/haskell-cafe
>> >
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>



More information about the Haskell-Cafe mailing list