尽管反复尝试,卡巴尔并没有更新。为什么卡巴尔不能正常工作?我该怎么办?最后一次更新可以追溯到89天前。
Windows PowerShell
Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.
PS C:\WINDOWS\system32> ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.2
PS C:\WINDOWS\system32> cabal --version
cabal-install version 2.0.0.1
compiled using version 2.0.1.1 of the Cabal library
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> cabal update
Downloading the latest package list from hackage.haskell.org
dieVerbatim: user error (cabal.exe: Failed to download
http://objects-us-west-1.dream.io/hackage-mirror/01-index.tar.gz : No Status
Code could be parsed from response: Eccezione durante una richiesta WebClient.
)发布于 2018-01-28 06:22:03
基于this git issue,有一种变通方法是使用
cabal --http-transport=plain-http update而不是。(强制cabal不使用powershell的use客户端)
https://stackoverflow.com/questions/48481129
复制相似问题