Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails if not connected to the Internet #419

Closed
1 task done
abourrier opened this issue Feb 3, 2023 · 6 comments · Fixed by #423
Closed
1 task done

Installation fails if not connected to the Internet #419

abourrier opened this issue Feb 3, 2023 · 6 comments · Fixed by #423
Labels
bug Something isn't working

Comments

@abourrier
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

OS: Ubuntu 20.04

When trying to install Mambaforge 22.11 on a platform not connected to the Internet, the installer tries to update some packages right away and I get the following error:

critical libmamba Download error (6) Couldn't resolve host name [https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.40-h41732ed_0.conda]
    Could not resolve host: conda.anaconda.org

Previous versions of Mambaforge up to 22.09 did not have this problem.

Installed packages

No installed package

Environment info

No environment
@abourrier abourrier added the bug Something isn't working label Feb 3, 2023
@hmaarrfk
Copy link
Contributor

hmaarrfk commented Feb 3, 2023

cc @conda-forge/constructor

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Feb 4, 2023

I can confirm that this is indeed a bug
image

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Feb 4, 2023

It might be that we are hitting this bug mamba-org/mamba#2187

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Feb 4, 2023

I'm somewhat surprised that this issue didn't occur earlier since the last time we updated micromamba was a few months back #383

It is due to a bug in micromamba: mamba-org/mamba#2187

I think we could accelerate the release of mamba-org/mamba#2265

but the same people that would review a patch proposed for the conda-forge only version would review a patch for the upstream repository.

I can apply the patch to conda-forge once they accept it there.

@jaimergp
Copy link
Member

jaimergp commented Feb 6, 2023

Does it reproduce with CONDA_OFFLINE=true set?

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Feb 6, 2023

Given the code path I've identified it is going through, i'm willing to bet it is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

3 participants