#4411·mamba

mamba installs wrong version of package?

Author: h-vetinariCreated Sep 23, 2026Updated Sep 23, 2026
Labelstype::bug

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

not found

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

I'm trying to update my builder environment, and conda-smithy does not get updated as intended.

>mamba update --all -y
Using Python 3.12.14 environment at: E:\miniforge\envs\builder
Fetch Shard Index for conda-forge/noarch                                                  ✔ Done (0.7 sec)
Fetch Shard Index for conda-forge/win-64                                                  ✔ Done (0.5 sec)
Fetching and Parsing Packages' Shards                                                           ⧖ StartingUsing Python r
Fetching and Parsing Packages' Shards                                                    ✔ Done (34.8 sec)

Pinned packages:

  - python=3.12

Resolving Environment                                                                    ✔ Done (13.0 sec)

Transaction

  Prefix: E:\miniforge\envs\builder



  No specs added or removed.

  Package                    Version  Build             Channel           Size
--------------------------------------------------------------------------------
  Remove:
--------------------------------------------------------------------------------

  - jsonpatch                   1.33  pyhd8ed1ab_1      conda-forge     Cached
  - jsonpointer                3.1.1  pyhcf101f3_0      conda-forge     Cached
  - zstandard                 0.25.0  py312he5662c2_4   conda-forge     Cached

  Upgrade:
--------------------------------------------------------------------------------

  - anaconda-client           1.12.3  pyhd8ed1ab_1      conda-forge     Cached
  + anaconda-client           1.14.1  pyhcf101f3_0      conda-forge     Cached
  - conda                     26.3.2  py312h2e8e312_1   conda-forge     Cached
  + conda                     26.7.2  py312h209ec74_2   conda-forge     Cached
  - conda-libmamba-solver     26.4.2  pyhcf101f3_1      conda-forge     Cached
  + conda-libmamba-solver     26.7.0  pyhcf101f3_0      conda-forge     Cached
  - conda-self                 0.2.1  pyhd8ed1ab_0      conda-forge     Cached
  + conda-self                 0.3.0  pyhd8ed1ab_0      conda-forge     Cached
  - conda-smithy           2026.9.19  win_pyh7428d3b_0  conda-forge     Cached
  + conda-smithy           2026.9.23  win_pyh7428d3b_0  conda-forge     Cached
  - idna                        3.19  pyhcf101f3_0      conda-forge     Cached
  + idna                        3.20  pyh5ded981_0      conda-forge     Cached
  - virtualenv                21.9.0  pyh5ded981_0      conda-forge     Cached
  + virtualenv               21.10.0  pyh5ded981_0      conda-forge     Cached

  Summary:

  Remove: 3 packages
  Upgrade: 7 packages

  Total download: 0 B

--------------------------------------------------------------------------------

After this, contrary to the above logs, smithy is still at 2026.9.19 (which is flagged immediately because the rerender checks by default if there's a newer smithy version and aborts).

Interestingly, even with a direct request, there's a mismatch between the spec of the demanded version (which gets found), and what mamba decides to (re)install

>mamba install conda-smithy=2026.9.23 --force-reinstall
Using Python 3.12.14 environment at: E:\miniforge\envs\builder
Using Cached Shard Index for conda-forge/noarch                                                     ✔ Done
Using Cached Shard Index for conda-forge/win-64                                                     ✔ Done
Fetching and Parsing Packages' Shards                                                           ⧖ StartingUsing Python r
Fetching and Parsing Packages' Shards                                                     ✔ Done (2.0 sec)

Pinned packages:

  - python=3.12

Resolving Environment                                                                    ✔ Done (12.0 sec)

Transaction

  Prefix: E:\miniforge\envs\builder

  Updating specs:

   - conda-smithy=2026.9.23


  Package           Version  Build             Channel           Size
-----------------------------------------------------------------------
  Reinstall:
-----------------------------------------------------------------------

  o conda-smithy  2026.9.19  win_pyh7428d3b_0  conda-forge     Cached   # WHAT?!?!?!?!  Should be 2026.9.23!

  Summary:

  Reinstall: 1 packages

  Total download: 0 B

-----------------------------------------------------------------------

Using conda install conda-smithy=2026.9.23 works fine.

mamba info / micromamba info

bash
libmamba version : 2.9.0
          mamba version : 2.9.0
           curl version : libcurl/8.22.0 Schannel zlib/1.3.2 libpsl/0.23.1 libssh2/1.11.1 WinLDAP
     libarchive version : libarchive 3.8.9 zlib/1.3.2 liblzma/5.8.3 bz2lib/1.0.8 liblz4/1.10.0 libzstd/1.5.7 libxml2/2.d
       envs directories : E:\miniforge\envs
          package cache : E:\miniforge\pkgs
                          C:\Users\[...]\.mamba\pkgs
                          C:\Users\[...]\AppData\Roaming\.mamba\pkgs
            environment : builder (active)
           env location : E:\miniforge\envs\builder
      user config files : C:\Users\[...]\.mambarc
 populated config files : E:\miniforge\envs\builder\condarc.d\anaconda-auth.yml
                          C:\Users\[...]\.condarc
                          E:\miniforge\.condarc
       virtual packages : __win=10.0.26200=0
                          __archspec=1=x86_64_v3
               channels : https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/conda-forge/win-64
       base environment : E:\miniforge
               platform : win-64

Logs

bash

environment.yml

yaml

~/.condarc

yaml