mamba: mamba segfault when uninstalling package installed with older mamba version
@consideratio reported the following issue:
I’ve created a reproducible snippet. I’m going to try seeing if I can reproduce it also if starting out with mamba 0.20 from the start and not just updating to it along the way.
# 166a330 is a tag from 2022 jan 19 where a lot of packages were installed with
# mamba 0.17
FROM pangeo/pangeo-notebook:166a330
RUN echo "WILL FAIL: Attempting to remove nomkl with mamba version: $(mamba --version)" \
&& mamba uninstall -n ${CONDA_ENV} -vv -y nomkl || true
RUN mamba --version \
&& mamba update -y mamba \
&& mamba --version
RUN echo "WILL FAIL: Attempting to remove nomkl with mamba version: $(mamba --version)" \
&& mamba uninstall -n ${CONDA_ENV} -vv -y nomkl || true
RUN echo "WILL SUCCEED: Attempting to remove nomkl with mamba version: $(mamba --version)" \
&& echo "BY clearing the history file..." \
&& rm /srv/conda/envs/${CONDA_ENV}/conda-meta/history \
&& mamba uninstall -n ${CONDA_ENV} -vv -y nomkl
And
I’ve now reproduced this when mamba is installed to 0.20 from the beginning and not upgraded to before trying the mamba uninstall -n ${CONDA_ENV} nomkl command which is failing.
@wolfv let me know if you have ideas on how I could contribute with additional information etc.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (8 by maintainers)
Thanks, perfect reproducers! I’ll have a look asap. It might well be that there is still a problem in the history parsing 😃