When I do cabal install criterion
I get the following error regarding the package vector-algorithms
Warning: The package list for 'hackage.haskell.org' is 16 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Downloading vector-algorithms-0.4...
cabal: Error: some packages failed to install:
vector-algorithms-0.4 failed while downloading the package. The exception was:
connect: does not exist (Connection refused)
And when I run cabal update
it again errors with
Downloading the latest package list from hackage.haskell.org
cabal: openTCPConnection: host lookup failure for ""
What is wrong?
I'm using Ubuntu 11.10 and GHC 7.0.4 from this PPA and my network connection is just fine in the rest of the system.
~/.cabal/config
, look for a line beginning withremote-repo:
, it should beremote-repo: hackage.haskell.org:http://hackage.haskell.org/packages/archive
. – Poser