micromamba create
not idempotent when envs_dirs
does not exist
#3836
Labels
type::bug
Something isn't working
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Other (please describe)
Search tried in issue tracker
envs_dirs
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
This issue seems to overlap with #3790. I have not checked if this is solved by either of the two PRs linked there.
To reproduce,
docker build . -t cl777-mm docker run --rm -it cl777-mm micromamba create --file explicit.txt --yes --name ficc micromamba create --file explicit.txt --yes --name ficc
The first create command installs into the prefix
$MAMBA_ROOT_PREFIX/envs/ficc
=/opt/conda/envs/ficc
.The second (and any subsequent) create command installs into the
envs_dirs
prefix~/.conda/ficc
.I expected this
micromamba create
command to be idempotent. After some investigation, I believe what's happening on the two successivemicromamba create
commands is:~/.conda
fromenvs_dirs
doesn't exist, so installs in$MAMBA_ROOT_PREFIX/envs/ficc
=/opt/conda/envs/ficc
.b. Micromamba creates
~/.conda/environments.txt
.~/.conda
now exists and installs in the prefix~/.conda/ficc
.mamba info / micromamba info
~/.condarc
The text was updated successfully, but these errors were encountered: