2012-07-04 100 views
1

我相信嘗試使用「小集團安裝耶索德平臺」,但 安裝中止與以下錯誤安裝耶索德:錯誤在Windows XP上安裝的Haskell耶索德平臺2012.2.0.0

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) 

任何想法如何解決這個問題?

回答

2

看起來像zlib-conduit軟件包沒有正確下載。刪除下載,然後再試一次:

  1. find out where your cabal directory is
    1. 開始ghci的
    2. :m System.Directory
    3. getAppUserDataDirectory "cabal"
  2. 刪除packages\hackage.haskell.org\zlib-conduit子目錄的陰謀目錄
  3. 運行cabal update
  4. 重新運行cabal install yesod-platform

(第3步可能是不需要的,但不會傷人。)

+0

謝謝你,漂亮的工作! – user1023733