I tried running cabal install again, but just got the same error.
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@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@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