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

No commands work after updating to mamba 1.5.3 #3033

Open
3 tasks done
manopapad opened this issue Dec 5, 2023 · 40 comments
Open
3 tasks done

No commands work after updating to mamba 1.5.3 #3033

manopapad opened this issue Dec 5, 2023 · 40 comments

Comments

@manopapad
Copy link

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?

Mambaforge or latest Miniforge

Search tried in issue tracker

is:issue is:open 1.5.3

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

Mamba 1.5.3 refuses to run any command. It always fails with "Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba."

In the following output, I do the following:

Not showing in the output, but downgrading to 1.5.2 makes mamba work again. Then mysteriously upgrading to 1.5.3 again works.

Output
(base) iblis:~/quickstart> docker run -it --rm --gpus all ubuntu
root@f9b94fb28d89:/# apt update
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1030 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [49.8 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1520 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1298 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1535 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [32.6 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [78.3 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1265 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1494 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.0 kB]
Fetched 28.6 MB in 2s (13.6 MB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@f9b94fb28d89:/# apt install wget
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ca-certificates libpsl5 openssl publicsuffix
The following NEW packages will be installed:
  ca-certificates libpsl5 openssl publicsuffix wget
0 upgraded, 5 newly installed, 0 to remove and 15 not upgraded.
Need to get 1893 kB of archives.
After this operation, 3944 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 openssl amd64 3.0.2-0ubuntu1.12 [1182 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ca-certificates all 20230311ubuntu0.22.04.1 [155 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpsl5 amd64 0.21.0-1.2build2 [58.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 publicsuffix all 20211207.1025-1 [129 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 wget amd64 1.21.2-2ubuntu1 [367 kB]
Fetched 1893 kB in 1s (2525 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package openssl.
(Reading database ... 4395 files and directories currently installed.)
Preparing to unpack .../openssl_3.0.2-0ubuntu1.12_amd64.deb ...
Unpacking openssl (3.0.2-0ubuntu1.12) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20230311ubuntu0.22.04.1_all.deb ...
Unpacking ca-certificates (20230311ubuntu0.22.04.1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../libpsl5_0.21.0-1.2build2_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1.2build2) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../publicsuffix_20211207.1025-1_all.deb ...
Unpacking publicsuffix (20211207.1025-1) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.21.2-2ubuntu1_amd64.deb ...
Unpacking wget (1.21.2-2ubuntu1) ...
Setting up libpsl5:amd64 (0.21.0-1.2build2) ...
Setting up wget (1.21.2-2ubuntu1) ...
Setting up openssl (3.0.2-0ubuntu1.12) ...
Setting up publicsuffix (20211207.1025-1) ...
Setting up ca-certificates (20230311ubuntu0.22.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@f9b94fb28d89:/# wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
--2023-12-05 07:22:07--  https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Miniforge3-Linux-x86_64.sh [following]
--2023-12-05 07:22:07--  https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Miniforge3-Linux-x86_64.sh
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/221584272/6b843e17-f2d2-49f7-8fca-702997a3762d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231205%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231205T072208Z&X-Amz-Expires=300&X-Amz-Signature=e6c8b111bc7d341ae30d7e31c2cdd61ef940e4d4ec1767baf800df044fa4e32e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=221584272&response-content-disposition=attachment%3B%20filename%3DMiniforge3-Linux-x86_64.sh&response-content-type=application%2Foctet-stream [following]
--2023-12-05 07:22:08--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/221584272/6b843e17-f2d2-49f7-8fca-702997a3762d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231205%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231205T072208Z&X-Amz-Expires=300&X-Amz-Signature=e6c8b111bc7d341ae30d7e31c2cdd61ef940e4d4ec1767baf800df044fa4e32e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=221584272&response-content-disposition=attachment%3B%20filename%3DMiniforge3-Linux-x86_64.sh&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87007851 (83M) [application/octet-stream]
Saving to: 'Miniforge3-Linux-x86_64.sh'

Miniforge3-Linux-x86_64.sh                                      100%[====================================================================================================================================================>]  82.98M   108MB/s    in 0.8s

2023-12-05 07:22:08 (108 MB/s) - 'Miniforge3-Linux-x86_64.sh' saved [87007851/87007851]

root@f9b94fb28d89:/# bash Miniforge3-Linux-x86_64.sh

Welcome to Miniforge3 23.3.1-1

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
Miniforge installer code uses BSD-3-Clause license as stated below.

Binary packages that come with it have their own licensing terms
and by installing miniforge you agree to the licensing terms of individual
packages as well. They include different OSI-approved licenses including
the GNU General Public License and can be found in pkgs/<pkg-name>/info/licenses
folders.

Miniforge installer comes with a boostrapping executable that is used
when installing miniforge and is deleted after miniforge is installed.
The bootstrapping executable uses micromamba, cli11, cpp-filesystem,
curl, c-ares, krb5, libarchive, libev, lz4, nghttp2, openssl, libsolv,
nlohmann-json, reproc and zstd which are licensed under BSD-3-Clause,
MIT and OpenSSL licenses. Licenses and copyright notices of these
projects can be found at the following URL.
https://github.com/conda-forge/micromamba-feedstock/tree/master/recipe.

=============================================================================

Copyright (c) 2019-2022, conda-forge
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Do you accept the license terms? [yes|no]
[no] >>> yes

Miniforge3 will now be installed into this location:
/root/miniforge3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/miniforge3] >>>
PREFIX=/root/miniforge3
Unpacking payload ...
Extracting _libgcc_mutex-0.1-conda_forge.tar.bz2
Extracting ca-certificates-2023.7.22-hbcca054_0.conda
Extracting ld_impl_linux-64-2.40-h41732ed_0.conda
Extracting libstdcxx-ng-13.1.0-hfd8a6a1_0.conda
Extracting pybind11-abi-4-hd8ed1ab_3.tar.bz2
Extracting python_abi-3.10-3_cp310.conda
Extracting tzdata-2023c-h71feb2d_0.conda
Extracting libgomp-13.1.0-he5830b7_0.conda
Extracting _openmp_mutex-4.5-2_gnu.tar.bz2
Extracting libgcc-ng-13.1.0-he5830b7_0.conda
Extracting bzip2-1.0.8-h7f98852_4.tar.bz2
Extracting c-ares-1.19.1-hd590300_0.conda
Extracting fmt-9.1.0-h924138e_0.tar.bz2
Extracting icu-73.2-h59595ed_0.conda
Extracting keyutils-1.6.1-h166bdaf_0.tar.bz2
Extracting libev-4.33-h516909a_1.tar.bz2
Extracting libffi-3.4.2-h7f98852_5.tar.bz2
Extracting libiconv-1.17-h166bdaf_0.tar.bz2
Extracting libnsl-2.0.0-h7f98852_0.tar.bz2
Extracting libuuid-2.38.1-h0b41bf4_0.conda
Extracting libzlib-1.2.13-hd590300_5.conda
Extracting lz4-c-1.9.4-hcb278e6_0.conda
Extracting lzo-2.10-h516909a_1000.tar.bz2
Extracting ncurses-6.4-hcb278e6_0.conda
Extracting openssl-3.1.2-hd590300_0.conda
Extracting reproc-14.2.4-h0b41bf4_0.conda
Extracting xz-5.2.6-h166bdaf_0.tar.bz2
Extracting yaml-cpp-0.7.0-h27087fc_2.tar.bz2
Extracting libedit-3.1.20191231-he28a2e2_2.tar.bz2
Extracting libnghttp2-1.52.0-h61bc06f_0.conda
Extracting libsolv-0.7.24-hfc55251_3.conda
Extracting libsqlite-3.43.0-h2797004_0.conda
Extracting libssh2-1.11.0-h0841786_0.conda
Extracting libxml2-2.11.5-h232c23b_1.conda
Extracting readline-8.2-h8228510_1.conda
Extracting reproc-cpp-14.2.4-hcb278e6_0.conda
Extracting tk-8.6.12-h27826a3_0.tar.bz2
Extracting zstd-1.5.5-hfc55251_0.conda
Extracting krb5-1.21.2-h659d440_0.conda
Extracting libarchive-3.6.2-h039dbb9_1.conda
Extracting python-3.10.12-hd12c33a_0_cpython.conda
Extracting boltons-23.0.0-pyhd8ed1ab_0.conda
Extracting brotli-python-1.1.0-py310hc6cd4ac_0.conda
Extracting certifi-2023.7.22-pyhd8ed1ab_0.conda
Extracting charset-normalizer-3.2.0-pyhd8ed1ab_0.conda
Extracting colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
Extracting idna-3.4-pyhd8ed1ab_0.tar.bz2
Extracting jsonpointer-2.0-py_0.tar.bz2
Extracting libcurl-8.2.1-hca28451_0.conda
Extracting packaging-23.1-pyhd8ed1ab_0.conda
Extracting pluggy-1.3.0-pyhd8ed1ab_0.conda
Extracting pycosat-0.6.4-py310h5764c6d_1.tar.bz2
Extracting pycparser-2.21-pyhd8ed1ab_0.tar.bz2
Extracting pysocks-1.7.1-pyha2e5f31_6.tar.bz2
Extracting ruamel.yaml.clib-0.2.7-py310h1fa729e_1.conda
Extracting setuptools-68.1.2-pyhd8ed1ab_0.conda
Extracting toolz-0.12.0-pyhd8ed1ab_0.tar.bz2
Extracting wheel-0.41.2-pyhd8ed1ab_0.conda
Extracting cffi-1.15.1-py310h255011f_3.conda
Extracting jsonpatch-1.32-pyhd8ed1ab_0.tar.bz2
Extracting libmamba-1.4.2-hcea66bb_0.conda
Extracting pip-23.2.1-pyhd8ed1ab_0.conda
Extracting ruamel.yaml-0.17.32-py310h2372a71_0.conda
Extracting tqdm-4.66.1-pyhd8ed1ab_0.conda
Extracting urllib3-2.0.4-pyhd8ed1ab_0.conda
Extracting cryptography-41.0.3-py310h75e40e8_0.conda
Extracting libmambapy-1.4.2-py310h1428755_0.conda
Extracting requests-2.31.0-pyhd8ed1ab_0.conda
Extracting zstandard-0.19.0-py310h5764c6d_0.tar.bz2
Extracting conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda
Extracting pyopenssl-23.2.0-pyhd8ed1ab_1.conda
Extracting conda-package-handling-2.2.0-pyh38be061_0.conda
Extracting conda-23.3.1-py310hff52083_0.conda
Extracting conda-libmamba-solver-23.3.0-pyhd8ed1ab_0.conda
Extracting mamba-1.4.2-py310h51d5547_0.conda

Installing base environment...


                                           __
          __  ______ ___  ____ _____ ___  / /_  ____ _
         / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
        / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
       / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
      /_/

Transaction

  Prefix: /root/miniforge3

  Updating specs:

   - conda-forge/linux-64::_libgcc_mutex==0.1=conda_forge[md5=d7c89558ba9fa0495403155b64376d81]
   - conda-forge/linux-64::ca-certificates==2023.7.22=hbcca054_0[md5=a73ecd2988327ad4c8f2c331482917f2]
   - conda-forge/linux-64::ld_impl_linux-64==2.40=h41732ed_0[md5=7aca3059a1729aa76c597603f10b0dd3]
   - conda-forge/linux-64::libstdcxx-ng==13.1.0=hfd8a6a1_0[md5=067bcc23164642f4c226da631f2a2e1d]
   - conda-forge/noarch::pybind11-abi==4=hd8ed1ab_3[md5=878f923dd6acc8aeb47a75da6c4098be]
   - conda-forge/linux-64::python_abi==3.10=3_cp310[md5=4eb33d14d794b0f4be116443ffed3853]
   - conda-forge/noarch::tzdata==2023c=h71feb2d_0[md5=939e3e74d8be4dac89ce83b20de2492a]
   - conda-forge/linux-64::libgomp==13.1.0=he5830b7_0[md5=56ca14d57ac29a75d23a39eb3ee0ddeb]
   - conda-forge/linux-64::_openmp_mutex==4.5=2_gnu[md5=73aaf86a425cc6e73fcf236a5a46396d]
   - conda-forge/linux-64::libgcc-ng==13.1.0=he5830b7_0[md5=cd93f779ff018dd85c7544c015c9db3c]
   - conda-forge/linux-64::bzip2==1.0.8=h7f98852_4[md5=a1fd65c7ccbf10880423d82bca54eb54]
   - conda-forge/linux-64::c-ares==1.19.1=hd590300_0[md5=e8c18d865be43e2fb3f7a145b6adf1f5]
   - conda-forge/linux-64::fmt==9.1.0=h924138e_0[md5=b57864c85261a0fbc7132d2cc17478c7]
   - conda-forge/linux-64::icu==73.2=h59595ed_0[md5=cc47e1facc155f91abd89b11e48e72ff]
   - conda-forge/linux-64::keyutils==1.6.1=h166bdaf_0[md5=30186d27e2c9fa62b45fb1476b7200e3]
   - conda-forge/linux-64::libev==4.33=h516909a_1[md5=6f8720dff19e17ce5d48cfe7f3d2f0a3]
   - conda-forge/linux-64::libffi==3.4.2=h7f98852_5[md5=d645c6d2ac96843a2bfaccd2d62b3ac3]
   - conda-forge/linux-64::libiconv==1.17=h166bdaf_0[md5=b62b52da46c39ee2bc3c162ac7f1804d]
   - conda-forge/linux-64::libnsl==2.0.0=h7f98852_0[md5=39b1328babf85c7c3a61636d9cd50206]
   - conda-forge/linux-64::libuuid==2.38.1=h0b41bf4_0[md5=40b61aab5c7ba9ff276c41cfffe6b80b]
   - conda-forge/linux-64::libzlib==1.2.13=hd590300_5[md5=f36c115f1ee199da648e0597ec2047ad]
   - conda-forge/linux-64::lz4-c==1.9.4=hcb278e6_0[md5=318b08df404f9c9be5712aaa5a6f0bb0]
   - conda-forge/linux-64::lzo==2.10=h516909a_1000[md5=bb14fcb13341b81d5eb386423b9d2bac]
   - conda-forge/linux-64::ncurses==6.4=hcb278e6_0[md5=681105bccc2a3f7f1a837d47d39c9179]
   - conda-forge/linux-64::openssl==3.1.2=hd590300_0[md5=e5ac5227582d6c83ccf247288c0eb095]
   - conda-forge/linux-64::reproc==14.2.4=h0b41bf4_0[md5=0f51393e019df1f0047ef864cd9ddeec]
   - conda-forge/linux-64::xz==5.2.6=h166bdaf_0[md5=2161070d867d1b1204ea749c8eec4ef0]
   - conda-forge/linux-64::yaml-cpp==0.7.0=h27087fc_2[md5=0449d47d8457feaa3720d4779616dde2]
   - conda-forge/linux-64::libedit==3.1.20191231=he28a2e2_2[md5=4d331e44109e3f0e19b4cb8f9b82f3e1]
   - conda-forge/linux-64::libnghttp2==1.52.0=h61bc06f_0[md5=613955a50485812985c059e7b269f42e]
   - conda-forge/linux-64::libsolv==0.7.24=hfc55251_3[md5=702feab0e98333ef3eac0d948c605c2d]
   - conda-forge/linux-64::libsqlite==3.43.0=h2797004_0[md5=903fa782a9067d5934210df6d79220f6]
   - conda-forge/linux-64::libssh2==1.11.0=h0841786_0[md5=1f5a58e686b13bcfde88b93f547d23fe]
   - conda-forge/linux-64::libxml2==2.11.5=h232c23b_1[md5=f3858448893839820d4bcfb14ad3ecdf]
   - conda-forge/linux-64::readline==8.2=h8228510_1[md5=47d31b792659ce70f470b5c82fdfb7a4]
   - conda-forge/linux-64::reproc-cpp==14.2.4=hcb278e6_0[md5=ede8e0f849f2fee2f78cb488b4ea3b33]
   - conda-forge/linux-64::tk==8.6.12=h27826a3_0[md5=5b8c42eb62e9fc961af70bdd6a26e168]
   - conda-forge/linux-64::zstd==1.5.5=hfc55251_0[md5=04b88013080254850d6c01ed54810589]
   - conda-forge/linux-64::krb5==1.21.2=h659d440_0[md5=cd95826dbd331ed1be26bdf401432844]
   - conda-forge/linux-64::libarchive==3.6.2=h039dbb9_1[md5=29cf970521d30d113f3425b84cb250f6]
   - conda-forge/linux-64::python==3.10.12=hd12c33a_0_cpython[md5=eb6f1df105f37daedd6dca78523baa75]
   - conda-forge/noarch::boltons==23.0.0=pyhd8ed1ab_0[md5=033eb25fffd222aceeca6d58cd953680]
   - conda-forge/linux-64::brotli-python==1.1.0=py310hc6cd4ac_0[md5=fb6201eb1daa3a3a2f91a4833bdf27c7]
   - conda-forge/noarch::certifi==2023.7.22=pyhd8ed1ab_0[md5=7f3dbc9179b4dde7da98dfb151d0ad22]
   - conda-forge/noarch::charset-normalizer==3.2.0=pyhd8ed1ab_0[md5=313516e9a4b08b12dfb1e1cd390a96e3]
   - conda-forge/noarch::colorama==0.4.6=pyhd8ed1ab_0[md5=3faab06a954c2a04039983f2c4a50d99]
   - conda-forge/noarch::idna==3.4=pyhd8ed1ab_0[md5=34272b248891bddccc64479f9a7fffed]
   - conda-forge/noarch::jsonpointer==2.0=py_0[md5=07d85c22a3beb102a48cd123df84c2a6]
   - conda-forge/linux-64::libcurl==8.2.1=hca28451_0[md5=96aec6156d58591f5a4e67056521ce1b]
   - conda-forge/noarch::packaging==23.1=pyhd8ed1ab_0[md5=91cda59e66e1e4afe9476f8ef98f5c30]
   - conda-forge/noarch::pluggy==1.3.0=pyhd8ed1ab_0[md5=2390bd10bed1f3fdc7a537fb5a447d8d]
   - conda-forge/linux-64::pycosat==0.6.4=py310h5764c6d_1[md5=0e565d732f6660374b45d76761c09b06]
   - conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0[md5=076becd9e05608f8dc72757d5f3a91ff]
   - conda-forge/noarch::pysocks==1.7.1=pyha2e5f31_6[md5=2a7de29fb590ca14b5243c4c812c8025]
   - conda-forge/linux-64::ruamel.yaml.clib==0.2.7=py310h1fa729e_1[md5=2f9b517412af46255cef5e53a22c264e]
   - conda-forge/noarch::setuptools==68.1.2=pyhd8ed1ab_0[md5=4fe12573bf499ff85a0a364e00cc5c53]
   - conda-forge/noarch::toolz==0.12.0=pyhd8ed1ab_0[md5=92facfec94bc02d6ccf42e7173831a36]
   - conda-forge/noarch::wheel==0.41.2=pyhd8ed1ab_0[md5=1ccd092478b3e0ee10d7a891adbf8a4f]
   - conda-forge/linux-64::cffi==1.15.1=py310h255011f_3[md5=800596144bb613cd7ac58b80900ce835]
   - conda-forge/noarch::jsonpatch==1.32=pyhd8ed1ab_0[md5=09150b51b0528a31a0f6500b96fdde82]
   - conda-forge/linux-64::libmamba==1.4.2=hcea66bb_0[md5=0b3b4c833ea1ec555063479e2ac259dc]
   - conda-forge/noarch::pip==23.2.1=pyhd8ed1ab_0[md5=e2783aa3f9235225eec92f9081c5b801]
   - conda-forge/linux-64::ruamel.yaml==0.17.32=py310h2372a71_0[md5=9a03abf74d5069bda767c1bce7a41e0b]
   - conda-forge/noarch::tqdm==4.66.1=pyhd8ed1ab_0[md5=03c97908b976498dcae97eb4e4f3149c]
   - conda-forge/noarch::urllib3==2.0.4=pyhd8ed1ab_0[md5=18badd8fa3648d1beb1fcc7f2e0f756e]
   - conda-forge/linux-64::cryptography==41.0.3=py310h75e40e8_0[md5=2ad1ab0b68e459f8864e74bdd5b00fe5]
   - conda-forge/linux-64::libmambapy==1.4.2=py310h1428755_0[md5=0c942ea14a0e7a9e394882a8e4405235]
   - conda-forge/noarch::requests==2.31.0=pyhd8ed1ab_0[md5=a30144e4156cdbb236f99ebb49828f8b]
   - conda-forge/linux-64::zstandard==0.19.0=py310h5764c6d_0[md5=74ea667169b1296fb31bb86f13abfa49]
   - conda-forge/noarch::conda-package-streaming==0.9.0=pyhd8ed1ab_0[md5=38253361efb303deead3eab39ae9269b]
   - conda-forge/noarch::pyopenssl==23.2.0=pyhd8ed1ab_1[md5=34f7d568bf59d18e3fef8c405cbece21]
   - conda-forge/noarch::conda-package-handling==2.2.0=pyh38be061_0[md5=8a3ae7f6318376aa08ea753367bb7dd6]
   - conda-forge/linux-64::conda==23.3.1=py310hff52083_0[md5=d182178e1a62f8743044658bf3242af5]
   - conda-forge/noarch::conda-libmamba-solver==23.3.0=pyhd8ed1ab_0[md5=2edd368915b8a1c3e294c9ac944390d9]
   - conda-forge/linux-64::mamba==1.4.2=py310h51d5547_0[md5=a84d408833491f202a6d9f6d8fc696db]


  Package                         Version  Build               Channel           Size
───────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────

  + _libgcc_mutex                     0.1  conda_forge         conda-forge     Cached
  + _openmp_mutex                     4.5  2_gnu               conda-forge     Cached
  + boltons                        23.0.0  pyhd8ed1ab_0        conda-forge     Cached
  + brotli-python                   1.1.0  py310hc6cd4ac_0     conda-forge     Cached
  + bzip2                           1.0.8  h7f98852_4          conda-forge     Cached
  + c-ares                         1.19.1  hd590300_0          conda-forge     Cached
  + ca-certificates             2023.7.22  hbcca054_0          conda-forge     Cached
  + certifi                     2023.7.22  pyhd8ed1ab_0        conda-forge     Cached
  + cffi                           1.15.1  py310h255011f_3     conda-forge     Cached
  + charset-normalizer              3.2.0  pyhd8ed1ab_0        conda-forge     Cached
  + colorama                        0.4.6  pyhd8ed1ab_0        conda-forge     Cached
  + conda                          23.3.1  py310hff52083_0     conda-forge     Cached
  + conda-libmamba-solver          23.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + conda-package-handling          2.2.0  pyh38be061_0        conda-forge     Cached
  + conda-package-streaming         0.9.0  pyhd8ed1ab_0        conda-forge     Cached
  + cryptography                   41.0.3  py310h75e40e8_0     conda-forge     Cached
  + fmt                             9.1.0  h924138e_0          conda-forge     Cached
  + icu                              73.2  h59595ed_0          conda-forge     Cached
  + idna                              3.4  pyhd8ed1ab_0        conda-forge     Cached
  + jsonpatch                        1.32  pyhd8ed1ab_0        conda-forge     Cached
  + jsonpointer                       2.0  py_0                conda-forge     Cached
  + keyutils                        1.6.1  h166bdaf_0          conda-forge     Cached
  + krb5                           1.21.2  h659d440_0          conda-forge     Cached
  + ld_impl_linux-64                 2.40  h41732ed_0          conda-forge     Cached
  + libarchive                      3.6.2  h039dbb9_1          conda-forge     Cached
  + libcurl                         8.2.1  hca28451_0          conda-forge     Cached
  + libedit                  3.1.20191231  he28a2e2_2          conda-forge     Cached
  + libev                            4.33  h516909a_1          conda-forge     Cached
  + libffi                          3.4.2  h7f98852_5          conda-forge     Cached
  + libgcc-ng                      13.1.0  he5830b7_0          conda-forge     Cached
  + libgomp                        13.1.0  he5830b7_0          conda-forge     Cached
  + libiconv                         1.17  h166bdaf_0          conda-forge     Cached
  + libmamba                        1.4.2  hcea66bb_0          conda-forge     Cached
  + libmambapy                      1.4.2  py310h1428755_0     conda-forge     Cached
  + libnghttp2                     1.52.0  h61bc06f_0          conda-forge     Cached
  + libnsl                          2.0.0  h7f98852_0          conda-forge     Cached
  + libsolv                        0.7.24  hfc55251_3          conda-forge     Cached
  + libsqlite                      3.43.0  h2797004_0          conda-forge     Cached
  + libssh2                        1.11.0  h0841786_0          conda-forge     Cached
  + libstdcxx-ng                   13.1.0  hfd8a6a1_0          conda-forge     Cached
  + libuuid                        2.38.1  h0b41bf4_0          conda-forge     Cached
  + libxml2                        2.11.5  h232c23b_1          conda-forge     Cached
  + libzlib                        1.2.13  hd590300_5          conda-forge     Cached
  + lz4-c                           1.9.4  hcb278e6_0          conda-forge     Cached
  + lzo                              2.10  h516909a_1000       conda-forge     Cached
  + mamba                           1.4.2  py310h51d5547_0     conda-forge     Cached
  + ncurses                           6.4  hcb278e6_0          conda-forge     Cached
  + openssl                         3.1.2  hd590300_0          conda-forge     Cached
  + packaging                        23.1  pyhd8ed1ab_0        conda-forge     Cached
  + pip                            23.2.1  pyhd8ed1ab_0        conda-forge     Cached
  + pluggy                          1.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + pybind11-abi                        4  hd8ed1ab_3          conda-forge     Cached
  + pycosat                         0.6.4  py310h5764c6d_1     conda-forge     Cached
  + pycparser                        2.21  pyhd8ed1ab_0        conda-forge     Cached
  + pyopenssl                      23.2.0  pyhd8ed1ab_1        conda-forge     Cached
  + pysocks                         1.7.1  pyha2e5f31_6        conda-forge     Cached
  + python                        3.10.12  hd12c33a_0_cpython  conda-forge     Cached
  + python_abi                       3.10  3_cp310             conda-forge     Cached
  + readline                          8.2  h8228510_1          conda-forge     Cached
  + reproc                         14.2.4  h0b41bf4_0          conda-forge     Cached
  + reproc-cpp                     14.2.4  hcb278e6_0          conda-forge     Cached
  + requests                       2.31.0  pyhd8ed1ab_0        conda-forge     Cached
  + ruamel.yaml                   0.17.32  py310h2372a71_0     conda-forge     Cached
  + ruamel.yaml.clib                0.2.7  py310h1fa729e_1     conda-forge     Cached
  + setuptools                     68.1.2  pyhd8ed1ab_0        conda-forge     Cached
  + tk                             8.6.12  h27826a3_0          conda-forge     Cached
  + toolz                          0.12.0  pyhd8ed1ab_0        conda-forge     Cached
  + tqdm                           4.66.1  pyhd8ed1ab_0        conda-forge     Cached
  + tzdata                          2023c  h71feb2d_0          conda-forge     Cached
  + urllib3                         2.0.4  pyhd8ed1ab_0        conda-forge     Cached
  + wheel                          0.41.2  pyhd8ed1ab_0        conda-forge     Cached
  + xz                              5.2.6  h166bdaf_0          conda-forge     Cached
  + yaml-cpp                        0.7.0  h27087fc_2          conda-forge     Cached
  + zstandard                      0.19.0  py310h5764c6d_0     conda-forge     Cached
  + zstd                            1.5.5  hfc55251_0          conda-forge     Cached

  Summary:

  Install: 75 packages

  Total download: 0 B

───────────────────────────────────────────────────────────────────────────────────────



Transaction starting
Linking _libgcc_mutex-0.1-conda_forge
Linking ca-certificates-2023.7.22-hbcca054_0
Linking ld_impl_linux-64-2.40-h41732ed_0
Linking libstdcxx-ng-13.1.0-hfd8a6a1_0
Linking pybind11-abi-4-hd8ed1ab_3
Linking python_abi-3.10-3_cp310
Linking tzdata-2023c-h71feb2d_0
Linking libgomp-13.1.0-he5830b7_0
Linking _openmp_mutex-4.5-2_gnu
Linking libgcc-ng-13.1.0-he5830b7_0
Linking bzip2-1.0.8-h7f98852_4
Linking c-ares-1.19.1-hd590300_0
Linking fmt-9.1.0-h924138e_0
Linking icu-73.2-h59595ed_0
Linking keyutils-1.6.1-h166bdaf_0
Linking libev-4.33-h516909a_1
Linking libffi-3.4.2-h7f98852_5
Linking libiconv-1.17-h166bdaf_0
Linking libnsl-2.0.0-h7f98852_0
Linking libuuid-2.38.1-h0b41bf4_0
Linking libzlib-1.2.13-hd590300_5
Linking lz4-c-1.9.4-hcb278e6_0
Linking lzo-2.10-h516909a_1000
Linking ncurses-6.4-hcb278e6_0
Linking openssl-3.1.2-hd590300_0
Linking reproc-14.2.4-h0b41bf4_0
Linking xz-5.2.6-h166bdaf_0
Linking yaml-cpp-0.7.0-h27087fc_2
Linking libedit-3.1.20191231-he28a2e2_2
Linking libnghttp2-1.52.0-h61bc06f_0
Linking libsolv-0.7.24-hfc55251_3
Linking libsqlite-3.43.0-h2797004_0
Linking libssh2-1.11.0-h0841786_0
Linking libxml2-2.11.5-h232c23b_1
Linking readline-8.2-h8228510_1
Linking reproc-cpp-14.2.4-hcb278e6_0
Linking tk-8.6.12-h27826a3_0
Linking zstd-1.5.5-hfc55251_0
Linking krb5-1.21.2-h659d440_0
Linking libarchive-3.6.2-h039dbb9_1
Linking python-3.10.12-hd12c33a_0_cpython
Linking boltons-23.0.0-pyhd8ed1ab_0
Linking brotli-python-1.1.0-py310hc6cd4ac_0
Linking certifi-2023.7.22-pyhd8ed1ab_0
Linking charset-normalizer-3.2.0-pyhd8ed1ab_0
Linking colorama-0.4.6-pyhd8ed1ab_0
Linking idna-3.4-pyhd8ed1ab_0
Linking jsonpointer-2.0-py_0
Linking libcurl-8.2.1-hca28451_0
Linking packaging-23.1-pyhd8ed1ab_0
Linking pluggy-1.3.0-pyhd8ed1ab_0
Linking pycosat-0.6.4-py310h5764c6d_1
Linking pycparser-2.21-pyhd8ed1ab_0
Linking pysocks-1.7.1-pyha2e5f31_6
Linking ruamel.yaml.clib-0.2.7-py310h1fa729e_1
Linking setuptools-68.1.2-pyhd8ed1ab_0
Linking toolz-0.12.0-pyhd8ed1ab_0
Linking wheel-0.41.2-pyhd8ed1ab_0
Linking cffi-1.15.1-py310h255011f_3
Linking jsonpatch-1.32-pyhd8ed1ab_0
Linking libmamba-1.4.2-hcea66bb_0
Linking pip-23.2.1-pyhd8ed1ab_0
Linking ruamel.yaml-0.17.32-py310h2372a71_0
Linking tqdm-4.66.1-pyhd8ed1ab_0
Linking urllib3-2.0.4-pyhd8ed1ab_0
Linking cryptography-41.0.3-py310h75e40e8_0
Linking libmambapy-1.4.2-py310h1428755_0
Linking requests-2.31.0-pyhd8ed1ab_0
Linking zstandard-0.19.0-py310h5764c6d_0
Linking conda-package-streaming-0.9.0-pyhd8ed1ab_0
Linking pyopenssl-23.2.0-pyhd8ed1ab_1
Linking conda-package-handling-2.2.0-pyh38be061_0
Linking conda-23.3.1-py310hff52083_0
Linking conda-libmamba-solver-23.3.0-pyhd8ed1ab_0
Linking mamba-1.4.2-py310h51d5547_0
Transaction finished
installation finished.
Do you wish the installer to initialize Miniforge3
by running conda init? [yes|no]
[no] >>> yes
no change     /root/miniforge3/condabin/conda
no change     /root/miniforge3/bin/conda
no change     /root/miniforge3/bin/conda-env
no change     /root/miniforge3/bin/activate
no change     /root/miniforge3/bin/deactivate
no change     /root/miniforge3/etc/profile.d/conda.sh
no change     /root/miniforge3/etc/fish/conf.d/conda.fish
no change     /root/miniforge3/shell/condabin/Conda.psm1
no change     /root/miniforge3/shell/condabin/conda-hook.ps1
no change     /root/miniforge3/lib/python3.10/site-packages/xontrib/conda.xsh
no change     /root/miniforge3/etc/profile.d/conda.csh
modified      /root/.bashrc

==> For changes to take effect, close and re-open your current shell. <==


                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.4.2) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████

no change     /root/miniforge3/condabin/conda
no change     /root/miniforge3/bin/conda
no change     /root/miniforge3/bin/conda-env
no change     /root/miniforge3/bin/activate
no change     /root/miniforge3/bin/deactivate
no change     /root/miniforge3/etc/profile.d/conda.sh
no change     /root/miniforge3/etc/fish/conf.d/conda.fish
no change     /root/miniforge3/shell/condabin/Conda.psm1
no change     /root/miniforge3/shell/condabin/conda-hook.ps1
no change     /root/miniforge3/lib/python3.10/site-packages/xontrib/conda.xsh
no change     /root/miniforge3/etc/profile.d/conda.csh
no change     /root/.bashrc
No action taken.
Added mamba to /root/.bashrc

==> For changes to take effect, close and re-open your current shell. <==

If you'd prefer that conda's base environment not be activated on startup,
   set the auto_activate_base parameter to false:

conda config --set auto_activate_base false

Thank you for installing Miniforge3!
root@f9b94fb28d89:/# bash
(base) root@f9b94fb28d89:/# mamba info

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.4.2) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


     active environment : base
    active env location : /root/miniforge3
            shell level : 1
       user config file : /root/.condarc
 populated config files : /root/miniforge3/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.2=0
                          __glibc=2.35=0
                          __linux=6.2.0=0
                          __unix=0=0
       base environment : /root/miniforge3  (writable)
      conda av data dir : /root/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /root/miniforge3/pkgs
                          /root/.conda/pkgs
       envs directories : /root/miniforge3/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.31.0 CPython/3.10.12 Linux/6.2.0-37-generic ubuntu/22.04.3 glibc/2.35
                UID:GID : 0:0
             netrc file : None
           offline mode : False

(base) root@f9b94fb28d89:/# mamba update mamba

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (1.4.2) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['mamba']

conda-forge/noarch                                  14.8MB @   8.6MB/s  1.9s
conda-forge/linux-64                                36.4MB @   8.0MB/s  5.0s

Pinned packages:
  - python 3.10.*


Transaction

  Prefix: /root/miniforge3

  Updating specs:

   - mamba
   - ca-certificates
   - certifi
   - openssl


  Package                     Version  Build            Channel                   Size
────────────────────────────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────────────────────────────

  + archspec                    0.2.2  pyhd8ed1ab_0     conda-forge/noarch        42kB
  + distro                      1.8.0  pyhd8ed1ab_0     conda-forge/noarch        41kB
  + menuinst                    2.0.0  py310hff52083_1  conda-forge/linux-64     134kB
  + platformdirs                4.1.0  pyhd8ed1ab_0     conda-forge/noarch        20kB
  + truststore                  0.8.0  pyhd8ed1ab_0     conda-forge/noarch        21kB

  Upgrade:
────────────────────────────────────────────────────────────────────────────────────────

  - ca-certificates         2023.7.22  hbcca054_0       conda-forge
  + ca-certificates        2023.11.17  hbcca054_0       conda-forge/linux-64     154kB
  - certifi                 2023.7.22  pyhd8ed1ab_0     conda-forge
  + certifi                2023.11.17  pyhd8ed1ab_0     conda-forge/noarch       159kB
  - conda                      23.3.1  py310hff52083_0  conda-forge
  + conda                     23.11.0  py310hff52083_1  conda-forge/linux-64     979kB
  - conda-libmamba-solver      23.3.0  pyhd8ed1ab_0     conda-forge
  + conda-libmamba-solver     23.11.1  pyhd8ed1ab_0     conda-forge/noarch        47kB
  - fmt                         9.1.0  h924138e_0       conda-forge
  + fmt                        10.1.1  h00ab1b0_1       conda-forge/linux-64     192kB
  - libarchive                  3.6.2  h039dbb9_1       conda-forge
  + libarchive                  3.7.2  h039dbb9_0       conda-forge/linux-64     866kB
  - libcurl                     8.2.1  hca28451_0       conda-forge
  + libcurl                     8.4.0  hca28451_0       conda-forge/linux-64     386kB
  - libmamba                    1.4.2  hcea66bb_0       conda-forge
  + libmamba                    1.5.3  had39da4_2       conda-forge/linux-64       2MB
  - libmambapy                  1.4.2  py310h1428755_0  conda-forge
  + libmambapy                  1.5.3  py310h39ff949_2  conda-forge/linux-64     303kB
  - mamba                       1.4.2  py310h51d5547_0  conda-forge
  + mamba                       1.5.3  py310h51d5547_2  conda-forge/linux-64      51kB
  - openssl                     3.1.2  hd590300_0       conda-forge
  + openssl                     3.2.0  hd590300_1       conda-forge/linux-64       3MB
  - yaml-cpp                    0.7.0  h27087fc_2       conda-forge
  + yaml-cpp                    0.8.0  h59595ed_0       conda-forge/linux-64     205kB

  Summary:

  Install: 5 packages
  Upgrade: 12 packages

  Total download: 8MB

────────────────────────────────────────────────────────────────────────────────────────


Confirm changes: [Y/n] y
yaml-cpp                                           204.9kB @   3.4MB/s  0.1s
fmt                                                192.3kB @   2.7MB/s  0.1s
ca-certificates                                    154.1kB @   1.9MB/s  0.1s
truststore                                          20.7kB @ 235.3kB/s  0.0s
platformdirs                                        20.1kB @ 203.9kB/s  0.0s
menuinst                                           134.5kB @   1.3MB/s  0.1s
mamba                                               50.9kB @ 450.1kB/s  0.0s
openssl                                              2.9MB @  19.0MB/s  0.2s
conda-libmamba-solver                               46.9kB @ 311.5kB/s  0.0s
libmambapy                                         302.9kB @   2.0MB/s  0.1s
libmamba                                             1.7MB @   9.5MB/s  0.1s
certifi                                            158.9kB @ 906.2kB/s  0.1s
libcurl                                            386.2kB @   2.0MB/s  0.0s
conda                                              978.8kB @   4.9MB/s  0.1s
archspec                                            42.3kB @ 208.3kB/s  0.0s
libarchive                                         865.9kB @   4.0MB/s  0.1s
distro                                              40.9kB @ 187.9kB/s  0.0s

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) root@f9b94fb28d89:/# mamba info
Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

mamba info / micromamba info

# note that this is the output of `conda info`, since `mamba info` doesn't work

     active environment : base
    active env location : /root/miniforge3
            shell level : 1
       user config file : /root/.condarc
 populated config files : /root/miniforge3/.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.10.12.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=zen3
                          __conda=23.11.0=0
                          __cuda=12.2=0
                          __glibc=2.35=0
                          __linux=6.2.0=0
                          __unix=0=0
       base environment : /root/miniforge3  (writable)
      conda av data dir : /root/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /root/miniforge3/pkgs
                          /root/.conda/pkgs
       envs directories : /root/miniforge3/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.12 Linux/6.2.0-37-generic ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3
                UID:GID : 0:0
             netrc file : None
           offline mode : False

Logs

# no extra info printed
(base) root@f9b94fb28d89:/# mamba -v info
Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

environment.yml

No response

~/.condarc

No response

@mbargull
Copy link
Contributor

mbargull commented Dec 5, 2023

Issue with conda=23.11, see conda/conda#13400 (comment) .
You can install conda install conda=23.10 for now to get things working again.

@jezdez
Copy link
Contributor

jezdez commented Dec 5, 2023

I can't find the source of where the Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba. comes from, can anyone point me to that?

@jaimergp
Copy link
Contributor

jaimergp commented Dec 5, 2023

You need the 1.x branch:

mamba/mamba/mamba/mamba.py

Lines 768 to 773 in 34ce523

else:
print(
"Currently, only install, create, list, search, run,"
" info, clean, remove, update, repoquery, activate and"
" deactivate are supported through mamba."
)

@image80
Copy link

image80 commented Dec 5, 2023

Hello, on my side, i have exactly the same error message with conda 23.10.0 and python 3.11.5.
I paste below my test :

 (iota2-env) XXXXXXXX@XXXXXXXX:~$ mamba install iota2 -c iota2 -c iota2-deps
Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

If needed, i paste below the result of conda info command :

(iota2-env) xxxxxxe@xxxxx:~$ conda info

     active environment : iota2-env
    active env location : /home/geomatique/miniconda3/envs/iota2-env            shell level : 2
       user config file : /home/geomatique/.condarc
 populated config files : /home/geomatique/.condarc
          conda version : 23.10.0
    conda-build version : not installed
         python version : 3.11.5.final.0
       virtual packages : __archspec=1=cascadelake
                          __cuda=12.2=0
                          __glibc=2.35=0
                          __linux=5.15.133.1=0
                          __unix=0=0
       base environment : /home/geomatique/miniconda3  (writable)
      conda av data dir : /home/geomatique/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/iota2/linux-64
                          https://conda.anaconda.org/iota2/noarch
                          https://conda.anaconda.org/pytorch/linux-64
                          https://conda.anaconda.org/pytorch/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/geomatique/miniconda3/pkgs
                          /home/geomatique/.conda/pkgs
       envs directories : /home/geomatique/miniconda3/envs
                          /home/geomatique/.conda/envs
               platform : linux-64
             user-agent : conda/23.10.0 requests/2.31.0 CPython/3.11.5 Linux/5.15.133.1-microsoft-standard-WSL2 ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Thanks so much for your help

@jezdez
Copy link
Contributor

jezdez commented Dec 5, 2023

This is likely triggered by conda/conda#13173 that makes the code in mamba 1.x use a full import path instead of a relative one.

@image80
Copy link

image80 commented Dec 5, 2023

Thank you @jezdez for your message. Do you know how to fix this issue? Should i downgrage/install another/old version of conda ? On another ubuntu computer (with version conda 23.5.2), i did not get this mamba issue. Thank so much.

@jezdez
Copy link
Contributor

jezdez commented Dec 5, 2023

@image80 Downgrading is the best course of action until we have a proper fix out.

@jezdez
Copy link
Contributor

jezdez commented Dec 5, 2023

Yeah, I believe conda/conda#13173 changes the CLI parsing so that the argparse callback function path is stored as an absolute path and not relative anymore, which is bubbled up in mamba CLI as an error, seemingly not having any subcommand available. I would call that an unfortunate compatibility bug, if it wouldn't affect so many users automatically on upgrading conda in conda-forge.

Since this is easy to fix in a backward-compatible way, I would err on fixing mamba instead of rolling back the change in conda. Personally, I consider the change in conda to be acceptable and not needing to be covered by the deprecation policy per CEP 9.

But obviously, it's unfortunate that this wasn't caught by a CI system ahead of time. We shall improve that by more conservative version pinning of the conda dependency in mamba, or running mamba tests as part of the conda release, as suggested by @SylvainCorlay to me.

@jezdez
Copy link
Contributor

jezdez commented Dec 5, 2023

I proposed patch for mamba CLI is here: #3036

@mbargull
Copy link
Contributor

mbargull commented Dec 5, 2023

But obviously, it's unfortunate that this wasn't caught by a CI system ahead of time. We shall improve that by more conservative version pinning of the conda dependency in mamba, or running mamba tests as part of the conda release, as suggested by @SylvainCorlay to me.

Yes, for packages that have a higher impact on the ecosystem, it would be reasonable to run a (small) selection of tests upstream.
Additionally, it would make sense for mamba -- at least as long as it is tightly integrated with conda's code -- to add some additional tests for pre-releases; e.g., conda-build runs tests against the conda-canary/label/dev channel: https://github.com/conda/conda-build/blob/3.28.0/.github/workflows/tests.yml#L85 .

@SylvainCorlay
Copy link
Member

@JohanMabille Since conda 23.11.0 requires conda-libmamba-solver >=23.11.0, which requires libmamba >=1.5.3, only mamba 1.5.3 is affected by this breakage, so we should be able to make a patch release, and a repodata patch forcing 1.5.3 to be installed with conda<3.11...

To the more general point of preventing this kind of breakage, mamba and conda are both upstream to each other in a way (since conda depends on libmamba, and mamba depends on the conda CLI). It makes sense to be a bit cautious about all of this. Some CI set up could be a way to go. Note that mamba 2.0 will not depend on conda at all, which will make the situation a bit simpler.

@mbargull
Copy link
Contributor

mbargull commented Dec 5, 2023

repodata patch forcing 1.5.3 to be installed with conda<3.11...

We already put in a repodata patch on conda-forge for this.
I just checked if it works as intended an indeed an create conda=23.11 mamba prevents the env creation as intended.
... But mamba install conda=23.11 and CONDA_SOLVER=libmamba conda install conda=23.11 into an environment with mamba already installed still succeeds (leaving mamba non-functional afterwards). (Could be something with preferring dependency info from installed packages over conflicting ones coming from the channel?)
So, we probably need better/additional fixes (possibly/hopefully with a newer mamba version it will just install that).

@JohanMabille
Copy link
Member

I've just released 1.5.4, working on the feedstock now, it should be available on conda-forge in the next couple of hours.

@jezdez
Copy link
Contributor

jezdez commented Dec 5, 2023

I've just released 1.5.4, working on the feedstock now, it should be available on conda-forge in the next couple of hours.

Thank you so much!

@SylvainCorlay

To the more general point of preventing this kind of breakage, mamba and conda are both upstream to each other in a way (since conda depends on libmamba, and mamba depends on the conda CLI). It makes sense to be a bit cautious about all of this. Some CI set up could be a way to go.

I can't say I've run the mamba 1.x tests before locally recently, maybe it'd be worth running them (or a subset) in the conda conda-forge feedstock upon release?

@jaimergp
Copy link
Contributor

jaimergp commented Dec 5, 2023

I can't say I've run the mamba 1.x tests before locally recently, maybe it'd be worth running them (or a subset) in the conda conda-forge feedstock upon release?

Maybe it's just a matter of a little smoke tests in the conda recipe. Adding mamba to the test.requires and then having test.commands include mamba create --dry-run -n unused flask. Even better if we do that in the conda canary so we don't learn about it too late in the release process.

@xylar
Copy link
Contributor

xylar commented Dec 5, 2023

Yes, please, please, please do add a mamba test to the conda feedstock. These kinds of breaking changes can be really disruptive. I would be willing to help but it would be better if it's done by the experts.

@jaimergp
Copy link
Contributor

jaimergp commented Dec 5, 2023

See also #3029

@mbargull
Copy link
Contributor

mbargull commented Dec 5, 2023

Yes, please, please, please do add a mamba test to the conda feedstock.

We can add a downstreams test to conda-feedstock, yes.
That being said, those tests should really already happen before we hit the packaging phase.
(Even though we obviously have a large overlap between devs of the tools and package maintainers, we should still differentiate those roles.)

These kinds of breaking changes can be really disruptive.

To be clear, any release of conda could render mamba non-functional since there is no well-defined interface between the code bases of both projects.
Meaning, "these kinds of breaking changes" are fine to happen if conda internals are being worked on -- we (as maintainers of the ecosystem) just must be made aware of incompatibilities somehow. Regular testing (on multiple fronts) would help us (and with us I mean any of us, not "taking sides"; thinking of "sides" on these issues would be futile...).

@JohanMabille
Copy link
Member

JohanMabille commented Dec 5, 2023

Yes, please, please, please do add a mamba test to the conda feedstock. These kinds of breaking changes can be really disruptive. I would be willing to help but it would be better if it's done by the experts.

We also set a more restrictive upper bound on conda in the mamba feedstock, so that when a new conda release is cut, we can test whether mamba is broken, fix it if needed, and relax the constraint without breaking the ecosystem.

@mbargull
Copy link
Contributor

mbargull commented Dec 5, 2023

repodata patch forcing 1.5.3 to be installed with conda<3.11...

We already put in a repodata patch on conda-forge for this. I just checked if it works as intended an indeed an create conda=23.11 mamba prevents the env creation as intended. ... But mamba install conda=23.11 and CONDA_SOLVER=libmamba conda install conda=23.11 into an environment with mamba already installed still succeeds (leaving mamba non-functional afterwards). (Could be something with preferring dependency info from installed packages over conflicting ones coming from the channel?) So, we probably need better/additional fixes (possibly/hopefully with a newer mamba version it will just install that).

To follow up:
conda-forge::mamba=1.5.4 is now up.
With that, CONDA_SOLVER=libmamba conda update conda/mamba update conda still won't touch mamba=1.5.3 and install conda=23.11.0 alongside it, which will render mamba non-functional again.
Adding insult to injury: CONDA_SOLVER=libmamba conda update mamba/mamba update mamba for me updates a conda=23.10.0 to conda=23.11.0 while actually leaving mamba=1.5.3 untouched again, leading us to the same unwanted outcome. 😒

@JohanMabille
Copy link
Member

JohanMabille commented Dec 5, 2023

If I understand correctly, before you try to update anything you have mamba=1.5.3 and conda=23.10.0 installed, correct?

Can you try the following and let me know if it works?

  • remove (or rename to be sure you can restore them later) $PREFIX/pkgs/libmamba-1.5.3-*, $PREFIX/pkgs/libmambapy-1.5.3-* and $PREFIX/pkgs/mamba-1.5.4-*
  • try CONDA_SOLVER=libmamba conda update mamba

If that does not work (do not restore the previously removed files yet):

  • CONDA_SOLVER=libmamba conda install mamba=1.5.2
  • CONDA_SOLVER=libmamba mamba update mamba

EDIT: my assumption is that your install is using the mamba 1.5.3 cache you have, with the wrong dependencies, instead of downloading it with the patched repodata entry (but I don't understand why mamba upgrade mamba does not install mamba 1.5.4 in your case). I just tried the following:

  • Started from an old mambaforge with mamba 1.4.9 and conda 23.5.0
  • Installed explicitely mamba=1.5.3 and conda 23.10.0
  • Ran mamba update mamba

The last command successfully upgraded to mamba 1.5.4 and conda 23.11.0

@mbargull
Copy link
Contributor

mbargull commented Dec 5, 2023

Oh, sorry, I have to correct myself:
mamba update mamba is the only one that does work (i.e., updates to mamba=1.5.4).
But all the others (mamba update conda, CONDA_SOLVER=libmamba conda update conda, CONDA_SOLVER=libmamba conda update mamba) do not work.


I'm working off of the current quay.io/condaforge/linux-anvil-cos7-x86_64:latest, i.e., it should be easy to reproduce.
Yes, this has mamba=1.5.3 with the unpatched dependencies installed.
The contents of CONDA_PKGS_DIRS should not matter.
But I guess you actually mean the environments metadata, i.e., ${CONDA_PREFIX}/conda-meta/mamba-1.5.3-*.json.
Yes, if that one is changed, the behavior differs, of course.
This was also what I hinted at #3033 (comment) with

(Could be something with preferring dependency info from installed packages over conflicting ones coming from the channel?)

(To be fair: Disagreements between repodata.json and the environment's data are tricky to handle (as in sometimes these lead to unresolvable states) since hacking on repodata isn't a thing that was conceptually considered way back when...)

@sweettyler
Copy link

sweettyler commented Dec 6, 2023

On Linux, after upgrading mamba from 1.5.3 to 1.5.4, "mamba update --all" worked again, but "mamba clean --yes --all" still had an error similar to what reported in #534.

mbargull added a commit to mbargull/mamba that referenced this issue Dec 6, 2023
Follow-up to mamba-orggh-3036 to fix "mamba clean".
ref:
- mamba-org#3033 (comment)

Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
@mbargull
Copy link
Contributor

mbargull commented Dec 6, 2023

On Linux, after upgrading mamba from 1.5.3 to 1.5.4, "mamba update --all" worked again, but "mamba clean --yes --all" still had an error similar to what reported in #534.

Thanks for the report!
mamba clean has the same import_module("conda.cli" + ...) pattern, but at a separate place such that it was not covered with the fix from gh-3036.
I mechanically copied @jezdez's fix over in gh-3040 and it seems to do the trick.

JohanMabille pushed a commit that referenced this issue Dec 6, 2023
…3040)

Follow-up to gh-3036 to fix "mamba clean".
ref:
- #3033 (comment)

Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
@JohanMabille
Copy link
Member

JohanMabille commented Dec 6, 2023

The contents of CONDA_PKGS_DIRS should not matter.
But I guess you actually mean the environments metadata, i.e., ${CONDA_PREFIX}/conda-meta/mamba-1.5.3-*.json.

I really meant the content of CONDA_PKGS_DIRS, there is a repodata_record.json and an index.json file contianing the dependencies, and I think that mamba is using one of them when installing the package (but I'm really not sure of that, I need to check again, this always confuses me). Cleaning this folder sometimes helps in solving resolution / install problems, so I think it's not neutral.

But all the others (mamba update conda, CONDA_SOLVER=libmamba conda update conda, CONDA_SOLVER=libmamba conda update mamba) do not work.

I wonder if rebuilding conda-libmamba-solver could help. It depends on libmambapy>=1.5.3 which as a run_export pinning max(x.x) so maybe if we rebuild conda-libmamba-solver against libmambapy==1.5.4, it should generate a dependency on libmambapy>=1.5.4,<1.6 ? Or does it consider the dependency constraint from conda-libmamba-solver higher priority or does it choose the least restrictive constraint?

@mbargull
Copy link
Contributor

mbargull commented Dec 6, 2023

I really meant the content of CONDA_PKGS_DIRS, there is a repodata_record.json and an index.json file contianing the dependencies, and I think that mamba is using one of them when installing the package (but I'm really not sure of that, I need to check again, this always confuses me). Cleaning this folder sometimes helps in solving resolution / install problems, so I think it's not neutral.

I can't see why...

Nonetheless:

[conda@cf26b1d4025e ~]$ mamba install -qy jq
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[conda@cf26b1d4025e ~]$ jq -r '.["packages.conda"][]|select(.name=="mamba")|select(.version=="1.5.3")|.depends[]|select(.|startswith("conda "))'  /opt/conda/pkgs/cache/????????.json
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
conda >=23.9,<23.11.0
[conda@cf26b1d4025e ~]$ jq -r 'select(.name=="mamba")|.depends[]|select(.|startswith("conda "))' /opt/conda/pkgs/mamba-1.*/info/{index,repodata_record}.json /opt/conda/conda-meta/mamba-1.*.json
conda >=23.9,<24
conda >=23.9,<24
conda >=23.9,<24
[conda@cf26b1d4025e ~]$ # ^- shows all (index.json, repodata_record.json, conda-meta/*.json) have the unpatched info.
[conda@cf26b1d4025e ~]$ mamba update -d conda

Looking for: ['conda']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - conda
   - ca-certificates
   - certifi
   - openssl


  Package     Version  Build            Channel           Size
────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────

  + menuinst    2.0.0  py310hff52083_1  conda-forge      134kB
  + distro      1.8.0  pyhd8ed1ab_0     conda-forge       41kB

  Upgrade:
────────────────────────────────────────────────────────────────

  - conda     23.10.0  py310hff52083_1  conda-forge     Cached
  + conda     23.11.0  py310hff52083_1  conda-forge      979kB

  Summary:

  Install: 2 packages
  Upgrade: 1 packages

  Total download: 1MB

────────────────────────────────────────────────────────────────


Dry run. Exiting.

DryRunExit: Dry run. Exiting.

[conda@cf26b1d4025e ~]$ rm -rf /opt/conda/pkgs/mamba-1.*
[conda@cf26b1d4025e ~]$ mamba update -d conda

Looking for: ['conda']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - conda
   - ca-certificates
   - certifi
   - openssl


  Package     Version  Build            Channel           Size
────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────

  + menuinst    2.0.0  py310hff52083_1  conda-forge      134kB
  + distro      1.8.0  pyhd8ed1ab_0     conda-forge       41kB

  Upgrade:
────────────────────────────────────────────────────────────────

  - conda     23.10.0  py310hff52083_1  conda-forge     Cached
  + conda     23.11.0  py310hff52083_1  conda-forge      979kB

  Summary:

  Install: 2 packages
  Upgrade: 1 packages

  Total download: 1MB

────────────────────────────────────────────────────────────────


Dry run. Exiting.

DryRunExit: Dry run. Exiting.

[conda@cf26b1d4025e ~]$ mamba install -y mamba=1.5.2

Looking for: ['mamba=1.5.2']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - mamba=1.5.2
   - ca-certificates
   - certifi
   - openssl


  Package                  Version  Build            Channel           Size
─────────────────────────────────────────────────────────────────────────────
  Downgrade:
─────────────────────────────────────────────────────────────────────────────

  - libmamba                 1.5.3  had39da4_2       conda-forge     Cached
  + libmamba                 1.5.2  had39da4_1       conda-forge        2MB
  - ruamel.yaml             0.18.5  py310h2372a71_0  conda-forge     Cached
  + ruamel.yaml            0.17.40  py310h2372a71_0  conda-forge      200kB
  - libmambapy               1.5.3  py310h39ff949_2  conda-forge     Cached
  + libmambapy               1.5.2  py310h39ff949_1  conda-forge      301kB
  - conda                  23.10.0  py310hff52083_1  conda-forge     Cached
  + conda                   23.9.0  py310hff52083_2  conda-forge      969kB
  - mamba                    1.5.3  py310h51d5547_2  conda-forge       51kB
  + mamba                    1.5.2  py310h51d5547_1  conda-forge       52kB
  - conda-libmamba-solver  23.11.1  pyhd8ed1ab_0     conda-forge     Cached
  + conda-libmamba-solver   23.9.3  pyhd8ed1ab_0     conda-forge       47kB

  Summary:

  Downgrade: 6 packages

  Total download: 3MB

─────────────────────────────────────────────────────────────────────────────


mamba                                               51.6kB @ 387.4kB/s  0.1s
ruamel.yaml                                        200.2kB @   1.3MB/s  0.2s
libmambapy                                         300.5kB @   1.7MB/s  0.2s
conda-libmamba-solver                               46.5kB @ 254.3kB/s  0.1s
conda                                              968.7kB @   4.8MB/s  0.2s
libmamba                                             1.6MB @   3.1MB/s  0.5s

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
[conda@cf26b1d4025e ~]$ mamba update -d conda

Looking for: ['conda']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - conda
   - ca-certificates
   - certifi
   - openssl


  Package                  Version  Build            Channel           Size
─────────────────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────────────────

  + menuinst                 2.0.0  py310hff52083_1  conda-forge      134kB
  + distro                   1.8.0  pyhd8ed1ab_0     conda-forge       41kB

  Upgrade:
─────────────────────────────────────────────────────────────────────────────

  - libmamba                 1.5.2  had39da4_1       conda-forge     Cached
  + libmamba                 1.5.4  had39da4_0       conda-forge        2MB
  - libmambapy               1.5.2  py310h39ff949_1  conda-forge     Cached
  + libmambapy               1.5.4  py310h39ff949_0  conda-forge      302kB
  - conda                   23.9.0  py310hff52083_2  conda-forge     Cached
  + conda                  23.11.0  py310hff52083_1  conda-forge      979kB
  - conda-libmamba-solver   23.9.3  pyhd8ed1ab_0     conda-forge     Cached
  + conda-libmamba-solver  23.11.1  pyhd8ed1ab_0     conda-forge     Cached
  - mamba                    1.5.2  py310h51d5547_1  conda-forge     Cached
  + mamba                    1.5.4  py310h51d5547_0  conda-forge       52kB

  Summary:

  Install: 2 packages
  Upgrade: 5 packages

  Total download: 3MB

─────────────────────────────────────────────────────────────────────────────


Dry run. Exiting.

DryRunExit: Dry run. Exiting.

[conda@cf26b1d4025e ~]$ mamba install -y mamba=1.5.3

Looking for: ['mamba=1.5.3']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - mamba=1.5.3
   - ca-certificates
   - certifi
   - openssl


  Package       Version  Build            Channel           Size
──────────────────────────────────────────────────────────────────
  Upgrade:
──────────────────────────────────────────────────────────────────

  - libmamba      1.5.2  had39da4_1       conda-forge     Cached
  + libmamba      1.5.3  had39da4_2       conda-forge     Cached
  - libmambapy    1.5.2  py310h39ff949_1  conda-forge     Cached
  + libmambapy    1.5.3  py310h39ff949_2  conda-forge     Cached
  - mamba         1.5.2  py310h51d5547_1  conda-forge     Cached
  + mamba         1.5.3  py310h51d5547_2  conda-forge       51kB

  Summary:

  Upgrade: 3 packages

  Total download: 51kB

──────────────────────────────────────────────────────────────────


mamba                                               50.9kB @ 401.7kB/s  0.1s

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
[conda@cf26b1d4025e ~]$ mamba update -d conda

Looking for: ['conda']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - conda
   - ca-certificates
   - certifi
   - openssl


  Package                  Version  Build            Channel           Size
─────────────────────────────────────────────────────────────────────────────
  Install:
─────────────────────────────────────────────────────────────────────────────

  + menuinst                 2.0.0  py310hff52083_1  conda-forge      134kB
  + distro                   1.8.0  pyhd8ed1ab_0     conda-forge       41kB

  Upgrade:
─────────────────────────────────────────────────────────────────────────────

  - libmamba                 1.5.3  had39da4_2       conda-forge     Cached
  + libmamba                 1.5.4  had39da4_0       conda-forge        2MB
  - libmambapy               1.5.3  py310h39ff949_2  conda-forge     Cached
  + libmambapy               1.5.4  py310h39ff949_0  conda-forge      302kB
  - conda                   23.9.0  py310hff52083_2  conda-forge     Cached
  + conda                  23.11.0  py310hff52083_1  conda-forge      979kB
  - conda-libmamba-solver   23.9.3  pyhd8ed1ab_0     conda-forge     Cached
  + conda-libmamba-solver  23.11.1  pyhd8ed1ab_0     conda-forge     Cached
  - mamba                    1.5.3  py310h51d5547_2  conda-forge     Cached
  + mamba                    1.5.4  py310h51d5547_0  conda-forge       52kB

  Summary:

  Install: 2 packages
  Upgrade: 5 packages

  Total download: 3MB

─────────────────────────────────────────────────────────────────────────────


Dry run. Exiting.

DryRunExit: Dry run. Exiting.

Which shows that if the entry in conda-meta is updated (here by removing mamba=1.5.3 from the prefix at some point).
You could achieve the same if you manually edit conda-meta/mamba-1.5.3-*.json.
Or by removing/installing it:

[conda@0fc3fa546c5d ~]$ mamba update -d conda

Looking for: ['conda']

conda-forge/noarch                                  12.8MB @  14.0MB/s  1.0s
conda-forge/linux-64                                31.0MB @  16.7MB/s  2.0s

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - conda
   - ca-certificates
   - certifi
   - openssl


  Package     Version  Build            Channel           Size
────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────

  + menuinst    2.0.0  py310hff52083_1  conda-forge      134kB
  + distro      1.8.0  pyhd8ed1ab_0     conda-forge       41kB

  Upgrade:
────────────────────────────────────────────────────────────────

  - conda     23.10.0  py310hff52083_1  conda-forge     Cached
  + conda     23.11.0  py310hff52083_1  conda-forge      979kB

  Summary:

  Install: 2 packages
  Upgrade: 1 packages

  Total download: 1MB

────────────────────────────────────────────────────────────────


Dry run. Exiting.

DryRunExit: Dry run. Exiting.

[conda@0fc3fa546c5d ~]$ conda remove --force -yq mamba

## Package Plan ##

  environment location: /opt/conda

  removed specs:
    - mamba


The following packages will be REMOVED:

  mamba-1.5.3-py310h51d5547_2


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
(base) [conda@0fc3fa546c5d ~]$ conda install -yq --no-deps mamba=1.5.3
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - mamba=1.5.3


The following NEW packages will be INSTALLED:

  mamba              conda-forge/linux-64::mamba-1.5.3-py310h51d5547_2 


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
(base) [conda@0fc3fa546c5d ~]$ mamba update -d conda

Looking for: ['conda']

warning  libmamba Cache file "/opt/conda/pkgs/cache/497deca9.json" was modified by another program
warning  libmamba Cache file "/opt/conda/pkgs/cache/09cdf8bf.json" was modified by another program
conda-forge/noarch                                  12.8MB @  14.6MB/s  0.9s
conda-forge/linux-64                                31.0MB @  15.3MB/s  2.2s

Pinned packages:
  - python 3.10.*
  - su-exec 0.2
  - tini 0.19.0


Transaction

  Prefix: /opt/conda

  Updating specs:

   - conda
   - ca-certificates
   - certifi
   - openssl


  Package       Version  Build            Channel           Size
──────────────────────────────────────────────────────────────────
  Install:
──────────────────────────────────────────────────────────────────

  + menuinst      2.0.0  py310hff52083_1  conda-forge      134kB
  + distro        1.8.0  pyhd8ed1ab_0     conda-forge       41kB

  Upgrade:
──────────────────────────────────────────────────────────────────

  - libmamba      1.5.3  had39da4_2       conda-forge     Cached
  + libmamba      1.5.4  had39da4_0       conda-forge        2MB
  - libmambapy    1.5.3  py310h39ff949_2  conda-forge     Cached
  + libmambapy    1.5.4  py310h39ff949_0  conda-forge      302kB
  - conda       23.10.0  py310hff52083_1  conda-forge     Cached
  + conda       23.11.0  py310hff52083_1  conda-forge      979kB
  - mamba         1.5.3  py310h51d5547_2  conda-forge     Cached
  + mamba         1.5.4  py310h51d5547_0  conda-forge       52kB

  Summary:

  Install: 2 packages
  Upgrade: 4 packages

  Total download: 3MB

──────────────────────────────────────────────────────────────────


Dry run. Exiting.

DryRunExit: Dry run. Exiting.

As said, this is all in containers from the current quay.io/condaforge/linux-anvil-cos7-x86_64:latest image; you can test it out with that easily.

@jaimergp
Copy link
Contributor

jaimergp commented Dec 6, 2023

Hey folks, sorry for the brevity as I type this afk.

IIUC, this has to do with the history blocking the update. The usual workaround is to enumerate all the packages that should be updated:

conda update conda mamba conda-libmamba-solver

conda update --all might also work (but too much maybe?), or even --update-specs. I think --prune will let conda know to ignore the history but I am not sure if that flag is enabled in all commands. CONDA_PRUNE=1 might work instead.

Let me know if that helps. There's a rationale behind this that I'd be happy to discuss too, but it's a bit tricky to type all of that on the phone.

@jdblischak
Copy link
Contributor

But obviously, it's unfortunate that this wasn't caught by a CI system ahead of time.

Additionally, it would make sense for mamba -- at least as long as it is tightly integrated with conda's code -- to add some additional tests for pre-releases; e.g., conda-build runs tests against the conda-canary/label/dev channel

Some CI set up could be a way to go.

tl;dr Such a CI pipeline already exists, but it requires more attention when it fails

To clarify, the mamba repository already has a CI pipeline to test against conda from the conda-canary channel. It runs every Sunday

https://github.com/mamba-org/mamba/blob/main/.github/workflows/conda_canary.yml

It opens an Issue if it fails, and it has been failing for weeks for unrelated reasons

https://github.com/mamba-org/mamba/issues?q=is%3Aissue+Bot+failure+

Unfortunately the PR to fix the scheduled canary build (#2950) wasn't merged prior to the release of conda 23.11.0. The CI run on this PR actually caught this compatibility error: #3029 (comment)

Now that the CI fix has been merged, the canary CI is passing again, I assume thanks to the recently merged PR #3040

https://github.com/mamba-org/mamba/actions/runs/7114168786

Thus in order to catch these types of compatibility errors prior to the next release, we don't necessarily need more CI infrastructure (though more is always better), but we do need to better monitor and address the Issues that are auto-opened when a canary CI run fails

@beckermr
Copy link

I just want to comment that it cannot possibly be correct behavior for “mamba update —all” to make updates to the packages that violate constraints from the downloaded repodata.

@LiutongZhou
Copy link

LiutongZhou commented Jan 3, 2024

mamba repoquery search not working. Mamba version 1.5.6. Conda version 23.11.0. Python 3.11

mamba repoquery search python
Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

@xylar
Copy link
Contributor

xylar commented Jan 4, 2024

I also found this and finally decided to start over with a fresh Miniforge and stop using the mamba commands at all. The conda commands seem to be just as fast with the libmamba solver installed.

@JohanMabille
Copy link
Member

JohanMabille commented Jan 4, 2024

mamba repoquery search not working. Mamba version 1.5.6. Conda version 23.11.0

mamba repoquery search python
Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

Can you post the result of mamba list please? mamba repoquery works like a charm for me with the following (including mamba 1.5.6 and conda 23.11.0):

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge2
_openmp_mutex             4.5                       2_gnu    conda-forge2
archspec                  0.2.2              pyhd8ed1ab_0    conda-forge2
boltons                   23.0.0             pyhd8ed1ab_0    conda-forge2
brotli-python             1.0.9           py310hd8f1fbe_9    conda-forge2
brotlipy                  0.7.0           py310h5764c6d_1005    conda-forge2
bzip2                     1.0.8                h7f98852_4    conda-forge2
c-ares                    1.24.0               hd590300_0    conda-forge2
ca-certificates           2023.11.17           hbcca054_0    conda-forge2
certifi                   2023.11.17         pyhd8ed1ab_0    conda-forge2
cffi                      1.15.1          py310h255011f_3    conda-forge2
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge2
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge2
conda                     23.11.0         py310hff52083_1    conda-forge2
conda-libmamba-solver     23.12.0            pyhd8ed1ab_0    conda-forge2
conda-package-handling    2.2.0              pyh38be061_0    conda-forge2
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge2
cryptography              41.0.2          py310h75e40e8_0    conda-forge2
distro                    1.9.0              pyhd8ed1ab_0    conda-forge2
fmt                       10.1.1               h00ab1b0_1    conda-forge2
icu                       72.1                 hcb278e6_0    conda-forge2
idna                      3.4                pyhd8ed1ab_0    conda-forge2
jsonpatch                 1.32               pyhd8ed1ab_0    conda-forge2
jsonpointer               2.0                        py_0    conda-forge2
keyutils                  1.6.1                h166bdaf_0    conda-forge2
krb5                      1.21.2               h659d440_0    conda-forge2
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge2
libarchive                3.7.2                h039dbb9_0    conda-forge2
libcurl                   8.5.0                hca28451_0    conda-forge2
libedit                   3.1.20191231         he28a2e2_2    conda-forge2
libev                     4.33                 h516909a_1    conda-forge2
libffi                    3.4.2                h7f98852_5    conda-forge2
libgcc-ng                 13.1.0               he5830b7_0    conda-forge2
libgomp                   13.1.0               he5830b7_0    conda-forge2
libiconv                  1.17                 h166bdaf_0    conda-forge2
libmamba                  1.5.6                had39da4_0    conda-forge2
libmambapy                1.5.6           py310h39ff949_0    conda-forge2
libnghttp2                1.58.0               h47da74e_1    conda-forge2
libnsl                    2.0.0                h7f98852_0    conda-forge2
libsolv                   0.7.24               hfc55251_1    conda-forge2
libsqlite                 3.42.0               h2797004_0    conda-forge2
libssh2                   1.11.0               h0841786_0    conda-forge2
libstdcxx-ng              13.1.0               hfd8a6a1_0    conda-forge2
libuuid                   2.38.1               h0b41bf4_0    conda-forge2
libxml2                   2.11.5               h0d562d8_0    conda-forge2
libzlib                   1.2.13               hd590300_5    conda-forge2
lz4-c                     1.9.4                hcb278e6_0    conda-forge2
lzo                       2.10              h516909a_1000    conda-forge2
mamba                     1.5.6           py310h51d5547_0    conda-forge2
menuinst                  2.0.1           py310hff52083_0    conda-forge2
ncurses                   6.4                  hcb278e6_0    conda-forge2
openssl                   3.2.0                hd590300_1    conda-forge2
packaging                 23.1               pyhd8ed1ab_0    conda-forge2
pip                       23.1.2             pyhd8ed1ab_0    conda-forge2
platformdirs              4.1.0              pyhd8ed1ab_0    conda-forge2
pluggy                    1.2.0              pyhd8ed1ab_0    conda-forge2
pybind11-abi              4                    hd8ed1ab_3    conda-forge2
pycosat                   0.6.4           py310h5764c6d_1    conda-forge2
pycparser                 2.21               pyhd8ed1ab_0    conda-forge2
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge2
pysocks                   1.7.1              pyha2e5f31_6    conda-forge2
python                    3.10.12         hd12c33a_0_cpython    conda-forge2
python_abi                3.10                    3_cp310    conda-forge2
readline                  8.2                  h8228510_1    conda-forge2
reproc                    14.2.4               h0b41bf4_0    conda-forge2
reproc-cpp                14.2.4               hcb278e6_0    conda-forge2
requests                  2.31.0             pyhd8ed1ab_0    conda-forge2
ruamel.yaml               0.17.32         py310h2372a71_0    conda-forge2
ruamel.yaml.clib          0.2.7           py310h1fa729e_1    conda-forge2
ruamel_yaml               0.15.80         py310h5764c6d_1008    conda-forge2
setuptools                68.0.0             pyhd8ed1ab_0    conda-forge2
tk                        8.6.12               h27826a3_0    conda-forge2
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge2
tqdm                      4.65.0             pyhd8ed1ab_1    conda-forge2
truststore                0.8.0              pyhd8ed1ab_0    conda-forge2
tzdata                    2023c                h71feb2d_0    conda-forge2
urllib3                   2.0.3              pyhd8ed1ab_1    conda-forge2
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge2
xz                        5.2.6                h166bdaf_0    conda-forge2
yaml                      0.2.5                h7f98852_2    conda-forge2
yaml-cpp                  0.8.0                h59595ed_0    conda-forge2
zstandard                 0.22.0          py310h1275a96_0    conda-forge2
zstd                      1.5.5                hfc55251_0    conda-forge2

EDIT: don't pay attention to the conda-forge2 channel, it's just an alias to conda-forge

@jaimergp
Copy link
Contributor

jaimergp commented Jan 4, 2024

Is there a chance Python 3.11 is in use? xref conda/conda-libmamba-solver#303 for context.

@LiutongZhou
Copy link

Can you post the result of mamba list please? mamba repoquery works like a charm for me with the following (including mamba 1.5.6 and conda 23.11.0):

I was using Python 3.11. I suspect it is Python 3.11 that has the problem.

Is there a chance Python 3.11 is in use? xref conda/conda-libmamba-solver#303 for context.

Yes. I was using Python 3.11.

Rolling back to Python 3.10 fixed the issue for me.

@b-a0
Copy link

b-a0 commented Jan 31, 2024

Same issue: mamba 1.5.6 and conda 23.11.0

  • break mamba commands with python 3.11 and 3.12
  • work with python 3.10

@mbargull
Copy link
Contributor

@LiutongZhou, @b-a0, could you provide information of you installations, i.e., the outputs of mamba info and conda config --show-sources?

@b-a0
Copy link

b-a0 commented Jan 31, 2024

Sure, this is the output after downgrading my base environment to python 3.10.

mamba info
          mamba version : 1.5.6
     active environment : None
            shell level : 0
       user config file : C:\Users\<SNIP>\.condarc
 populated config files : C:\Users\<SNIP>\.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.10.13.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=x86_64
                          __conda=23.11.0=0
                          __win=0=0
       base environment : C:\Users\<SNIP>\Miniconda3  (writable)
      conda av data dir : C:\Users\<SNIP>\Miniconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\Users\<SNIP>\Miniconda3\pkgs
                          C:\Users\<SNIP>\.conda\pkgs
                          C:\Users\<SNIP>\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\<SNIP>\Miniconda3\envs
                          C:\Users\<SNIP>\.conda\envs
                          C:\Users\<SNIP>\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.11.0 requests/2.28.2 CPython/3.10.13 Windows/10 Windows/10.0.19045 solver/libmamba conda-libmamba-solver/23.11.0 libmambapy/1.5.6
          administrator : False
             netrc file : None
           offline mode : False
conda config --show-sources
==> C:\Users\<SNIP>\.condarc <==
auto_activate_base: False
pip_interop_enabled: True
default_threads: 4
channel_priority: strict
channels:
  - conda-forge
solver: libmamba

@mbargull
Copy link
Contributor

mbargull commented Feb 2, 2024

Thanks, @b-a0.
I could reproduce this at conda-forge/mamba-feedstock#208 (comment) .
The failing command does not emit a non-zero exit code which is why this slipped through our tests...

@mbargull
Copy link
Contributor

mbargull commented Feb 2, 2024

Should be fixed by gh-3170 once we have those changes released.

@sangheonhan
Copy link

Issue with conda=23.11, see conda/conda#13400 (comment) . You can install conda install conda=23.10 for now to get things working again.

After lowering conda to 23.10 with this method, everything is updating normally again.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests