3

我只是尝试在 Vagrant 盒子上的 Ubuntu 12.04 (Precise 32) 上安装 Yesod。

Haskell 平台的安装没问题。

然后:“阴谋安装yesod-平台--force-reinstalls”

导致失败:

cabal: Error: some packages failed to install:
vault-0.3.0.1 failed during the building phase. The exception was:
ExitFailure 1
wai-1.4.0.2 depends on vault-0.3.0.1 which failed to install.
wai-app-static-1.3.1.4 depends on vault-0.3.0.1 which failed to install.
wai-extra-1.3.4.4 depends on vault-0.3.0.1 which failed to install.
wai-logger-0.3.1 depends on vault-0.3.0.1 which failed to install.
wai-test-1.3.1.1 depends on vault-0.3.0.1 which failed to install.
warp-1.3.9.2 depends on vault-0.3.0.1 which failed to install.
yesod-1.2.2.1 depends on vault-0.3.0.1 which failed to install.
yesod-auth-1.2.2.1 depends on vault-0.3.0.1 which failed to install.
yesod-core-1.2.4.2 depends on vault-0.3.0.1 which failed to install.
yesod-form-1.3.2.1 depends on vault-0.3.0.1 which failed to install.
yesod-persistent-1.2.1 depends on vault-0.3.0.1 which failed to install.
yesod-platform-1.2.4.2 depends on vault-0.3.0.1 which failed to install.
yesod-static-1.2.0.1 depends on vault-0.3.0.1 which failed to install.
yesod-test-1.2.1 depends on vault-0.3.0.1 which failed to install.

我猜这意味着找不到保险库。我不知道这里正在发生什么,这个包是什么以及为什么它无法安装在一个全新的带有全新 Haskell 平台的全新 Ubuntu 盒子上

感激地收到所有的指点。谢谢

4

1 回答 1

4

似乎最新版本的vaulton Hackage 已损坏。cabal您可以通过告诉安装旧版本来解决此问题:

cabal install yesod-platform --force-reinstalls --constraint 'vault < 0.3.0.1'

我将针对此问题提交一份针对 Vault 的错误报告。

于 2013-09-09T18:22:17.083 回答