Nor*_*löw 6 haskell ghc cabal cabal-install
当我做 cabal install criterion
我收到有关包的以下错误 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)
Run Code Online (Sandbox Code Playgroud)
当我cabal update再次运行它时出错
Downloading the latest package list from hackage.haskell.org
cabal: openTCPConnection: host lookup failure for ""
Run Code Online (Sandbox Code Playgroud)
怎么了?
我正在使用这个PPA的 Ubuntu 11.10和GHC 7.0.4 ,我的网络连接在系统的其余部分都很好.
这是一个代理设置。ftp_proxy仅取消设置或http_proxy还不够https_proxy。当我从系统设置中禁用终端代理配置时,GNOME 不会自动删除它。很烦人。我将编写一个 shell 脚本来禁用所有代理设置。
抱歉打扰大家了。