Skip to content

conda self update may cause package conflicts #85

@marcoesters

Description

@marcoesters

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

When running, conda self update, the plug-in will query the repository to find the latest conda without running a solver. At this moment, conda self update will try to update to conda 25.9.1, regardless of environment content. Since conda-forge has stopped publish packages for Python 3.9, running this command with Python 3.9 in the base environment will result in a package conflict.

A smoother user experience would list the latest version that satisfies at least the Python version constraints since will become an annual problem.

Conda Info

active environment : base                                                                                               
    active env location : /root/miniconda_conda_self/envs/conda-self-py39                                                    
            shell level : 1                                                                                                  
       user config file : /root/.condarc                                                                                     
 populated config files : /root/.condarc                                                                                     
          conda version : 25.7.0                                                                                             
    conda-build version : not installed                                                                                      
         python version : 3.9.23.final.0                                                                                     
                 solver : libmamba (default)                                                                                 
       virtual packages : __archspec=1=aarch64                                                                               
                          __conda=25.7.0=0                                                                                   
                          __glibc=2.41=0                                                                                     
                          __linux=6.10.14=0                                                                                  
                          __unix=0=0                                                                                         
       base environment : /root/miniconda_conda_self/envs/conda-self-py39  (writable)                                        
      conda av data dir : /root/miniconda_conda_self/envs/conda-self-py39/etc/conda                                          
  conda av metadata url : None                                                                                               
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-aarch64                                                  
                          https://repo.anaconda.com/pkgs/main/noarch                                                         
                          https://repo.anaconda.com/pkgs/r/linux-aarch64                                                     
                          https://repo.anaconda.com/pkgs/r/noarch                                                            
          package cache : /root/miniconda_conda_self/envs/conda-self-py39/pkgs                                               
                          /root/.conda/pkgs                                                                                  
       envs directories : /root/miniconda_conda_self/envs/conda-self-py39/envs                                               
                          /root/.conda/envs                                                                                  
               platform : linux-aarch64                                                                                      
             user-agent : conda/25.7.0 requests/2.32.5 CPython/3.9.23 Linux/6.10.14-linuxkit debian/13.1 glibc/2.41 solver/libmamba conda-libmamba-solver/25.4.0 libmambapy/2.3.1                                                                         
                UID:GID : 0:0                                                                                                
             netrc file : None                                                                                               
           offline mode : False

Conda Config

==> /root/miniconda_conda_self/envs/conda-self-py39/.condarc <==
channels:
  - conda-forge

Conda list

# packages in environment at /root/miniconda_conda_self/envs/conda-self-py39:
#
# Name                     Version          Build               Channel
_openmp_mutex              4.5              2_gnu               conda-forge
archspec                   0.2.5            pyhd8ed1ab_0        conda-forge
boltons                    25.0.0           pyhd8ed1ab_0        conda-forge
brotli-python              1.1.0            py39h7dbf29c_3      conda-forge
bzip2                      1.0.8            h4777abc_8          conda-forge
c-ares                     1.34.5           h86ecc28_0          conda-forge
ca-certificates            2025.11.12       hbd8a1cb_0          conda-forge
certifi                    2025.8.3         pyhd8ed1ab_0        conda-forge
cffi                       1.17.1           py39hecfc5ed_0      conda-forge
charset-normalizer         3.4.3            pyhd8ed1ab_0        conda-forge
colorama                   0.4.6            pyhd8ed1ab_1        conda-forge
conda                      25.7.0           py39h4420490_0      conda-forge
conda-libmamba-solver      25.4.0           pyhd8ed1ab_0        conda-forge
conda-package-handling     2.4.0            pyh7900ff3_2        conda-forge
conda-package-streaming    0.12.0           pyhd8ed1ab_0        conda-forge
conda-self                 0.1.1            pyhd8ed1ab_0        conda-forge
cpp-expected               1.1.0            h17cf362_1          conda-forge
distro                     1.9.0            pyhd8ed1ab_1        conda-forge
fmt                        11.2.0           h97e1849_0          conda-forge
frozendict                 2.4.6            py39h060674a_0      conda-forge
h2                         4.2.0            pyhd8ed1ab_0        conda-forge
hpack                      4.1.0            pyhd8ed1ab_0        conda-forge
hyperframe                 6.1.0            pyhd8ed1ab_0        conda-forge
icu                        75.1             hf9b3779_0          conda-forge
idna                       3.10             pyhd8ed1ab_1        conda-forge
jsonpatch                  1.33             pyhd8ed1ab_1        conda-forge
jsonpointer                3.0.0            py39h4420490_1      conda-forge
keyutils                   1.6.3            h86ecc28_0          conda-forge
krb5                       1.21.3           h50a48e9_0          conda-forge
ld_impl_linux-aarch64      2.45             hd32f0e1_0          conda-forge
libarchive                 3.8.2            gpl_hd746d8a_100    conda-forge
libcurl                    8.17.0           h7bfdcfb_0          conda-forge
libedit                    3.1.20250104     pl5321h976ea20_0    conda-forge
libev                      4.33             h31becfc_2          conda-forge
libexpat                   2.7.1            hfae3067_0          conda-forge
libffi                     3.5.2            hd65408f_0          conda-forge
libgcc                     15.2.0           he277a41_7          conda-forge
libgcc-ng                  15.2.0           he9431aa_7          conda-forge
libgomp                    15.2.0           he277a41_7          conda-forge
libiconv                   1.18             h90929bb_2          conda-forge
liblzma                    5.8.1            h86ecc28_2          conda-forge
libmamba                   2.3.1            he37af86_1          conda-forge
libmambapy                 2.3.1            py39h3368ac4_1      conda-forge
libnghttp2                 1.67.0           ha888d0e_0          conda-forge
libnsl                     2.0.1            h86ecc28_1          conda-forge
libsolv                    0.7.35           hdda61c4_0          conda-forge
libsqlite                  3.51.0           h022381a_0          conda-forge
libssh2                    1.11.1           h18c354c_0          conda-forge
libstdcxx                  15.2.0           h3f4de04_7          conda-forge
libstdcxx-ng               15.2.0           hf1166c9_7          conda-forge
libuuid                    2.41.2           h3e4203c_0          conda-forge
libxcrypt                  4.4.36           h31becfc_1          conda-forge
libxml2                    2.15.1           h788dabe_0          conda-forge
libxml2-16                 2.15.1           h8591a01_0          conda-forge
libzlib                    1.3.1            h86ecc28_2          conda-forge
lz4-c                      1.10.0           h5ad3122_1          conda-forge
lzo                        2.10             h80f16a2_1002       conda-forge
menuinst                   2.3.1            py39h4420490_0      conda-forge
ncurses                    6.5              ha32ae93_3          conda-forge
nlohmann_json              3.11.3           h0a1ffab_1          conda-forge
openssl                    3.6.0            h8e36d6e_0          conda-forge
packaging                  25.0             pyh29332c3_1        conda-forge
pip                        25.2             pyh8b19718_0        conda-forge
platformdirs               4.3.8            pyhe01879c_0        conda-forge
pluggy                     1.6.0            pyhd8ed1ab_0        conda-forge
pybind11-abi               4                hd8ed1ab_3          conda-forge
pycosat                    0.6.6            py39h060674a_2      conda-forge
pycparser                  2.22             pyh29332c3_1        conda-forge
pysocks                    1.7.1            pyha55dd90_7        conda-forge
python                     3.9.23           h0819846_0_cpython  conda-forge
python_abi                 3.9              8_cp39              conda-forge
readline                   8.2              h8382b9d_2          conda-forge
reproc                     14.2.5.post0     h86ecc28_0          conda-forge
reproc-cpp                 14.2.5.post0     h5ad3122_0          conda-forge
requests                   2.32.5           pyhd8ed1ab_0        conda-forge
ruamel.yaml                0.18.15          py39h0f7a62b_0      conda-forge
ruamel.yaml.clib           0.2.8            py39h060674a_1      conda-forge
setuptools                 80.9.0           pyhff2d567_0        conda-forge
simdjson                   3.13.0           h17cf362_0          conda-forge
tk                         8.6.13           noxft_h561c983_103  conda-forge
tqdm                       4.67.1           pyhd8ed1ab_1        conda-forge
tzdata                     2025b            h78e105d_0          conda-forge
urllib3                    2.5.0            pyhd8ed1ab_0        conda-forge
wheel                      0.45.1           pyhd8ed1ab_1        conda-forge
yaml-cpp                   0.8.0            h5ad3122_0          conda-forge
zstandard                  0.23.0           py39h0f7a62b_3      conda-forge
zstd                       1.5.7            hbcf94c1_2          conda-forge

Additional Context

Command output:

(base) root@fdc14253ee90:/conda/conda-self# conda self update                                                                
Checking updates for conda: done                                                                                             
Installed conda: 25.7.0                                                                                                      
Latest conda: 25.9.1                                                                                                         
Channels:                                                                                                                    
 - conda-forge                                                                                                               
Platform: linux-aarch64                                                                                                      
Collecting package metadata (repodata.json): done                                                                            
Solving environment: failed                                                                                                  
                                                                                                                             
LibMambaUnsatisfiableError: Encountered problems while solving:                                                              
  - package conda-25.9.1-py310h4c7bcd0_0 requires python >=3.10,<3.11.0a0, but none of the providers can be installed        
                                                                                                                             
Could not solve for environment specs                                                                                        
The following packages are incompatible                                                                                      
├─ conda =25.9.1 * is installable with the potential options                                                                 
│  ├─ conda 25.9.1 would require                                                                                             
│  │  └─ python >=3.10,<3.11.0a0 *, which can be installed;                                                                  
│  ├─ conda 25.9.1 would require                                                                                             
│  │  └─ python >=3.11,<3.12.0a0 *, which can be installed;                                                                  
│  ├─ conda 25.9.1 would require                                                                                             
│  │  └─ python >=3.12,<3.13.0a0 *, which can be installed;                                                                  
│  └─ conda 25.9.1 would require                                                                                             
│     └─ python >=3.13,<3.14.0a0 *_cp313, which can be installed;                                                            
└─ pin on python =3.9 * is not installable because it requires                                                               
   └─ python =3.9 *, which conflicts with any installable versions previously reported.                                      
                                                                                                                             
Pins seem to be involved in the conflict. Currently pinned specs:                                                            
 - python=3.9   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions