我的 Haskell 安裝突然決定自己崩潰,所以我卸載了它。當我嘗試使用 ghcup 再次安裝時,嘗試安裝 MSys2 工具鏈時出現以下錯誤:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
Exec: Error executing command curl.exe with arguments '-o
C:\Users\~\AppData\Local\Temp\\msys2-x86_64-latest.sfx.exe
https://repo.msys2.org/distrib/msys2-x86_64-latest.sfx.exe'
At line:170 char:11
throw ('Exec: Error executing command {0} with arguments '' ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : OperationStopped: (Exec: Error exe...latest.sfx.exe':String) [], RuntimeException
FullyQualifiedErrorId : Exec: Error executing command curl.exe with arguments '-o C:\Users\~\AppData\Local\T
emp\\msys2-x86_64-latest.sfx.exe https://repo.msys2.org/distrib/msys2-x86_64-latest.sfx.exe'
我之前安裝過 Haskell 之前沒有收到此錯誤。這可能意味著什么?謝謝!
uj5u.com熱心網友回復:
注意:此問題已修復!我所要做的就是打開 MSys2 并輸入echo "ssl-no-revoke" > ~/_curlrc. 這就像一個魅力!
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/437097.html
下一篇:堆疊在多包專案中運行
