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

还可以安装Haskell平台。

然后:“ cabal install yesod-platform --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盒子上

感谢所有的指针。谢谢

最佳答案

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

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


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

09-27 01:46
查看更多