使用 ghcup 安装时 MSys2 工具链出错 Haskell?
Error with MSys2 toolchain when using ghcup to install Haskell?
我的 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 之前没有出现过这个错误。这可能意味着什么?谢谢!
注意:此问题已修复!我所要做的就是打开 MSys2 并输入 echo "ssl-no-revoke" > ~/_curlrc
。这很有魅力!
我的 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 之前没有出现过这个错误。这可能意味着什么?谢谢!
注意:此问题已修复!我所要做的就是打开 MSys2 并输入 echo "ssl-no-revoke" > ~/_curlrc
。这很有魅力!