阴谋集团更新:下载失败
Cabal update: Failed to download
尽管多次尝试,Cabal 仍未更新。
为什么 Cabal 不能正常工作?
我应该怎么办?
最后一次更新可以追溯到 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.
)
基于this git issue,有一个解决方法是使用
cabal --http-transport=plain-http update
相反。 (强制 cabal 不使用 powershell 的 webclient)
尽管多次尝试,Cabal 仍未更新。 为什么 Cabal 不能正常工作? 我应该怎么办? 最后一次更新可以追溯到 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.
)
基于this git issue,有一个解决方法是使用
cabal --http-transport=plain-http update
相反。 (强制 cabal 不使用 powershell 的 webclient)