dfm794
April 2, 2024, 2:13am
1
Running into a problem updating conda.
executing
conda update -n base -c defaults condo
just yields the follow, that requests I execute the same update command issued.
conda update -n base -c defaults conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 24.3.0
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
Retrieving notices: ...working... done
Any workarounds?
It. looks like you already have the latest version of conda installed(24.3.0), so there is nothing to update.
Can you please type:
conda --version
to confirm that you are on version 24.3.0.
dfm794
April 7, 2024, 2:42pm
3
It’s not, conda --version returns
conda 22.9.0
Could you try to update conda in your base environment with conda update conda --all?
As well could you let us know what Operating System you are currently using?
Thank you!
ajksok
October 10, 2024, 4:12pm
5
I am running into the same issue. Even when running conda update conda --all in my base environment, it prints out the same warning given by dfm794 above. As mention by them, when running the suggested update command (conda update -n base -c defaults conda) nothing happens other than the warning being given again
Hello Ajksok,
Can you try to instead of conda update, but run the command conda install conda=<exact version you want>
. For example conda install conda=24.3.0
It might take a couple of seconds to a minute since if your conda for example 22.9.0 and need the newest which is conda 24.9.1. The installation time might take sometime
But if the command above doesn’t work, I would recommend to do a fresh uninstall and reinstall of Anaconda if possible with the links below:
https://docs.anaconda.com/anaconda/install/uninstall/
https://docs.anaconda.com/anaconda/install/
Also I found a bit more information on why conda update might not be working. It is cause conda update command is trying to update conda without being outside the boundaries of your other dependancies. So if conda 22.9.0 has a package that won’t work if it is conda 23.1.0 it won’t update past that version.
My example output for running conda install conda=24.3.0
when I had version 23.1.0. Hopefully you get the same result, but if not uninstalling and reinstalling fresh might be a work around.
(base) C:\Users\mmonroe>conda --version
conda 23.1.0
(base) C:\Users\mmonroe>conda install conda=24.3.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\Users\mmonroe\anaconda3\envs\test1
added / updated specs:
- conda=24.3.0
The following packages will be downloaded:
package | build
---------------------------|-----------------
archspec-0.2.3 | pyhd3eb1b0_0 47 KB
boltons-23.0.0 | py310haa95532_0 425 KB
conda-24.3.0 | py310haa95532_0 949 KB
conda-libmamba-solver-24.9.0| pyhd3eb1b0_0 40 KB
distro-1.9.0 | py310haa95532_0 57 KB
fmt-9.1.0 | h6d14046_1 200 KB
jsonpatch-1.33 | py310haa95532_1 57 KB
jsonpointer-2.1 | pyhd3eb1b0_0 9 KB
libarchive-3.7.4 | h9243413_0 1.8 MB
libcurl-8.9.1 | h0416ee5_0 372 KB
libiconv-1.16 | h2bbff1b_3 685 KB
libmamba-1.5.8 | h99b1521_3 3.9 MB
libmambapy-1.5.8 | py310h77c03ed_3 364 KB
libsolv-0.7.24 | h23ce68f_1 465 KB
libssh2-1.11.0 | h291bd65_0 285 KB
libxml2-2.13.1 | h24da03e_2 2.9 MB
menuinst-2.1.2 | py310h5da7b33_0 200 KB
packaging-24.1 | py310haa95532_0 148 KB
pcre2-10.42 | h0ff8eda_1 728 KB
platformdirs-3.10.0 | py310haa95532_0 36 KB
pybind11-abi-5 | hd3eb1b0_0 14 KB
reproc-14.2.4 | hd77b12b_2 40 KB
reproc-cpp-14.2.4 | hd77b12b_2 34 KB
truststore-0.8.0 | py310haa95532_0 39 KB
yaml-cpp-0.8.0 | hd77b12b_1 2.1 MB
------------------------------------------------------------
Total: 15.7 MB
The following NEW packages will be INSTALLED:
archspec pkgs/main/noarch::archspec-0.2.3-pyhd3eb1b0_0
boltons pkgs/main/win-64::boltons-23.0.0-py310haa95532_0
conda-libmamba-so~ pkgs/main/noarch::conda-libmamba-solver-24.9.0-pyhd3eb1b0_0
distro pkgs/main/win-64::distro-1.9.0-py310haa95532_0
fmt pkgs/main/win-64::fmt-9.1.0-h6d14046_1
jsonpatch pkgs/main/win-64::jsonpatch-1.33-py310haa95532_1
jsonpointer pkgs/main/noarch::jsonpointer-2.1-pyhd3eb1b0_0
libarchive pkgs/main/win-64::libarchive-3.7.4-h9243413_0
libcurl pkgs/main/win-64::libcurl-8.9.1-h0416ee5_0
libiconv pkgs/main/win-64::libiconv-1.16-h2bbff1b_3
libmamba pkgs/main/win-64::libmamba-1.5.8-h99b1521_3
libmambapy pkgs/main/win-64::libmambapy-1.5.8-py310h77c03ed_3
libsolv pkgs/main/win-64::libsolv-0.7.24-h23ce68f_1
libssh2 pkgs/main/win-64::libssh2-1.11.0-h291bd65_0
libxml2 pkgs/main/win-64::libxml2-2.13.1-h24da03e_2
packaging pkgs/main/win-64::packaging-24.1-py310haa95532_0
pcre2 pkgs/main/win-64::pcre2-10.42-h0ff8eda_1
platformdirs pkgs/main/win-64::platformdirs-3.10.0-py310haa95532_0
pybind11-abi pkgs/main/noarch::pybind11-abi-5-hd3eb1b0_0
reproc pkgs/main/win-64::reproc-14.2.4-hd77b12b_2
reproc-cpp pkgs/main/win-64::reproc-cpp-14.2.4-hd77b12b_2
truststore pkgs/main/win-64::truststore-0.8.0-py310haa95532_0
yaml-cpp pkgs/main/win-64::yaml-cpp-0.8.0-hd77b12b_1
The following packages will be UPDATED:
conda 23.1.0-py310haa95532_0 --> 24.3.0-py310haa95532_0
menuinst 1.4.19-py310h59b6b97_0 --> 2.1.2-py310h5da7b33_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) C:\Users\mmonroe>conda --version
conda 24.3.0