Kiedy zrobić cabal install criterion
Cabal Aktualizuj i opakowania Błędy montażowe
pojawia się następujący błąd dotyczący pakietu 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)
i kiedy biegnę cabal update
ponownie błędy z
Downloading the latest package list from hackage.haskell.org
cabal: openTCPConnection: host lookup failure for ""
Co jest źle?
Używam Ubuntu 11.10 i GHC 7.0.4 z this PPA, a moje połączenie sieciowe jest w porządku w pozostałej części systemu.
można sprawdzić Cabal config? W pliku '~/.cabal/config' poszukaj linii zaczynającej się od' remote-repo: ', powinno to być' remote-repo: hackage.haskell.org:http://hackage.haskell.org/packages/archive'. –
A następnie spróbuj pingować hackage.haskell.org, aby upewnić się, że nie jest to problem z siecią. – ivanm