sectornitad
sectornitad

Reputation: 983

Can't install Yesod on Ubuntu 12.04

I just tried to install Yesod on Ubuntu 12.04 (Precise 32) on a Vagrant box.

Install of Haskell Platform was ok.

Then : "cabal install yesod-platform --force-reinstalls"

caused a fail with :

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.

Which I guess means vault is not found. I have no understanding of what is afoot here, what this package is and why it has failed to install on a brand new fresh Ubuntu box with a brand new Haskell platform

All pointers gratefully received. Thanks

Upvotes: 3

Views: 448

Answers (1)

Michael Snoyman
Michael Snoyman

Reputation: 31355

It seems that the more recent version of vault on Hackage is broken. You can work around this by telling cabal to install an older version:

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

I'll file a bug report against vault about this.

Upvotes: 4

Related Questions