mamba icon indicating copy to clipboard operation
mamba copied to clipboard

Windows installation fails with `curl` error `CRYPT_E_REVOCATION_OFFLINE (0x80092013)`

Open 9ao9ai9ar opened this issue 7 months ago • 1 comments

Troubleshooting docs

  • [X] My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • [X] I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Micromamba

Search tried in issue tracker

curl windows install

Latest version of Mamba

  • [X] My problem is not solved with the latest version

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

On Windows 10 Home 22H2 19045.4651, using the recommended way to install micromamba:

Invoke-Expression ((Invoke-WebRequest -Uri https://micro.mamba.pm/install.ps1).Content)

leads to the following error:

Downloading micromamba from https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-win-64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_REVOCATION_OFFLINE (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.

Installing micromamba to C:\Users\<username>\AppData\Local\micromamba

Move-Item:
Line |
  14 |  Move-Item -Force micromamba.exe $MAMBA_INSTALL_PATH | out-null
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\Users\<username>\Downloads\micromamba.exe' because it does not exist.
C:\Users\<username>\AppData\Local\micromamba\micromamba.exe is already in PATH

Do you want to initialize micromamba for the shell activate command? (Y/n):

Manual install seems to download the file, but the tar extraction fails with the following output:

tar.exe: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d"

Doing a search on the curl error leads me to this GitHub issue, which does not seem like a problem I should resolve on my part, nor do I know how to.

My curl version:

curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-03-27
Protocols: dict file ftp ftps http https imap imaps ipfs ipns mqtt pop3 pop3s smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response

9ao9ai9ar avatar Jul 14 '24 05:07 9ao9ai9ar