The latest version of conda on conda-forge is 23.7.4 . My base environment has conda 23.5.0 (python 3.9.13). When I execute conda update -n base -c conda-forge conda
, why does it say “All requested packages already installed”? Thanks.
xylar
(Xylar Asay-Davis (he/him))
September 22, 2023, 1:08pm
2
You presumably have other packages (maybe mamba
or boa
or something like that) that prevent conda
from being updated to the latest version because they have an upper bound on conda version. That would be my hunch. I have found that installing boa
causes conda
to be downgraded, for example.
1 Like
thath
September 26, 2023, 11:07am
3
Check out my comment on this issue:
opened 11:51AM - 22 Mar 23 UTC
type::bug
source::community
severity::2
duplicate::primary
backlog
tag::update
### Checklist
- [X] I added a descriptive title
- [X] I searched open reports a… nd couldn't find a duplicate
### What happened?
I got update warning message but unable to update.
At first I created a new environment, and it asked me to:
```
==> WARNING: A newer version of conda exists. <==
current version: 22.9.0
latest version: 23.1.0
Please update conda by running
$ conda update -n base -c defaults conda
```
So I ran this command, but it turns that I can't update:
```
(env_name) user_name@node1:~$ 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: 23.1.0
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
Retrieving notices: ...working... done
```
I used `conda --version` and it returned `conda 22.9.0`, so in the end I failed to update conda.
I wonder how to tackle this problem?
### Conda Info
```shell
active environment : (confidential)
active env location : /home/(confidential)/anaconda3/envs/(confidential)
shell level : 4
user config file : /home/wanghuijuan/.condarc
populated config files :
conda version : 22.9.0
conda-build version : 3.21.8
python version : 3.9.12.final.0
virtual packages : __cuda=11.4=0
__linux=4.15.0=0
__glibc=2.27=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/(confidential)/anaconda3 (writable)
conda av data dir : /home/(confidential)/anaconda3/etc/conda
conda av metadata url : None
channel URLs : 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/(confidential)/anaconda3/pkgs
/home/(confidential)/.conda/pkgs
envs directories : /home/(confidential)/anaconda3/envs
/home/(confidential)/.conda/envs
platform : linux-64
user-agent : conda/22.9.0 requests/2.27.1 CPython/3.9.12 Linux/4.15.0-136-generic ubuntu/18.04.4 glibc/2.27
UID:GID : 1018:1014
netrc file : /home/(confidential)/.netrc
offline mode : False
```
### Conda Config
_No response_
### Conda list
_No response_
### Additional Context
_No response_
Some have found that this works. In your case, you just need to substitute “defaults” with “conda-forge”.
1 Like