#4360·mamba

Allow cancelling when waiting for other mamba process to finish

Author: davidbrochartCreated Jul 27, 2026Updated Jul 27, 2026

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

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

How did you install Mamba?

Micromamba

Search tried in issue tracker

Waiting for other mamba process to finish

Latest version of Mamba

  • 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

In terminal A, start installing a package and don't confirm changes yet. In terminal B, try to install a package. It pauses with:

error    libmamba Could not set lock (Resource temporarily unavailable)
warning  libmamba Cannot lock '/home/david/.local/share/mamba/pkgs'
    Waiting for other mamba process to finish

In terminal B, press ctrl-c: nothing happens. In terminal A, cancelling the installation by pressing n (at Confirm changes: [Y/n]) unlocks terminal B, but it exits after package resolution without asking to confirm changes, effectively not installing anything.

mamba info / micromamba info

bash
libmamba version : 2.8.1
     micromamba version : 2.8.1
           curl version : libcurl/8.20.0 OpenSSL/3.5.6 zlib/1.3.2 zstd/1.5.7 libssh2/1.11.1 nghttp2/1.68.1 mit-krb5/1.22.2
     libarchive version : libarchive 3.8.7 zlib/1.3.2 bz2lib/1.0.8 libzstd/1.5.7 libb2/bundled
       envs directories : /home/david/.local/share/mamba/envs
          package cache : /home/david/.local/share/mamba/pkgs
                          /home/david/.mamba/pkgs
            environment : tmp (active)
           env location : /home/david/.local/share/mamba/envs/tmp
      user config files : /home/david/.mambarc
 populated config files :
       virtual packages : __unix=0=0
                          __linux=7.0.0=0
                          __glibc=2.43=0
                          __archspec=1=x86_64_v3
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
       base environment : /home/david/.local/share/mamba
               platform : linux-64

Logs

bash

environment.yml

yaml

~/.condarc

yaml