conda-forge / conda-forge/miniforge
Error "The environment is inconsistent, please check the package plan carefully"
- Dominant language
- Shell
- Stars
- 10.2k
- Forks
- 530
- PR merge metrics
- No merged PRs in 30d
Description
### Solution to issue cannot be found in the documentation.
- [X] I checked the documentation.
### Issue
I uninstall miniforge following the official tutorial. Then I reinstall the latest release from [link](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh).
The bug happened when I run `conda update -n base conda`. The output is as follows:
```
Collecting package metadata (current_repodata.json): done
Solving environment: |
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- conda-forge/linux-64::readline==8.1=h46c0cb4_0
- conda-forge/linux-64::sqlite==3.38.5=h4ff8645_0
- conda-forge/linux-64::python==3.9.13=h9a8a25e_0_cpython
- conda-forge/linux-64::python_abi==3.9=2_cp39
- conda-forge/linux-64::setuptools==62.3.2=py39hf3d152e_0
- conda-forge/noarch::wheel==0.37.1=pyhd8ed1ab_0
- conda-forge/noarch::pip==22.1.2=pyhd8ed1ab_0
- conda-forge/noarch::six==1.16.0=pyh6c4a22f_0
- conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0
- conda-forge/noarch::idna==3.3=pyhd8ed1ab_0
- conda-forge/noarch::colorama==0.4.4=pyh9f0ad1d_0
- conda-forge/noarch::charset-normalizer==2.0.12=pyhd8ed1ab_0
- conda-forge/noarch::tqdm==4.64.0=pyhd8ed1ab_0
- conda-forge/linux-64::ruamel_yaml==0.15.80=py39hb9d737c_1007
- conda-forge/linux-64::pysocks==1.7.1=py39hf3d152e_5
- conda-forge/linux-64::pycosat==0.6.3=py39hb9d737c_1010
- conda-forge/linux-64::certifi==2022.5.18.1=py39hf3d152e_0
- conda-forge/linux-64::cffi==1.15.0=py39h4bc2ebd_0
- conda-forge/linux-64::conda-package-handling==1.8.1=py39hb9d737c_1
- conda-forge/linux-64::cryptography==37.0.2=py39hd97740a_0
- conda-forge/linux-64::brotlipy==0.7.0=py39hb9d737c_1004
- conda-forge/noarch::pyopenssl==22.0.0=pyhd8ed1ab_0
- conda-forge/noarch::urllib3==1.26.9=pyhd8ed1ab_0
- conda-forge/noarch::requests==2.27.1=pyhd8ed1ab_0
- conda-forge/linux-64::conda==4.12.0=py39hf3d152e_0
done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 4.13.0
Please update conda by running
$ conda update -n base conda
## Package Plan ##
environment location: /home/grads/zhiyuyang4/miniforge3
added / updated specs:
- conda
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2022.6.15 | ha878542_0 149 KB conda-forge
libzlib-1.2.12 | h166bdaf_1 63 KB conda-forge
zlib-1.2.12 | h166bdaf_1 91 KB conda-forge
------------------------------------------------------------
Total: 303 KB
The following packages will be UPDATED:
ca-certificates 2022.5.18.1-ha878542_0 --> 2022.6.15-ha878542_0
libzlib 1.2.12-h166bdaf_0 --> 1.2.12-h166bdaf_1
zlib 1.2.12-h166bdaf_0 --> 1.2.12-h166bdaf_1
Proceed ([y]/n)?
```
### Installed packages
```shell
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
brotlipy 0.7.0 py39hb9d737c_1004 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
ca-certificates 2022.5.18.1 ha878542_0 conda-forge
certifi 2022.5.18.1 py39hf3d152e_0 conda-forge
cffi 1.15.0 py39h4bc2ebd_0 conda-forge
charset-normalizer 2.0.12 pyhd8ed1ab_0 conda-forge
colorama 0.4.4 pyh9f0ad1d_0 conda-forge
conda 4.12.0 py39hf3d152e_0 conda-forge
conda-package-handling 1.8.1 py39hb9d737c_1 conda-forge
cryptography 37.0.2 py39hd97740a_0 conda-forge
idna 3.3 pyhd8ed1ab_0 conda-forge
ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 12.1.0 h8d9b700_16 conda-forge
libgomp 12.1.0 h8d9b700_16 conda-forge
libnsl 2.0.0 h7f98852_0 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libzlib 1.2.12 h166bdaf_0 conda-forge
ncurses 6.3 h27087fc_1 conda-forge
openssl 1.1.1o h166bdaf_0 conda-forge
pip 22.1.2 pyhd8ed1ab_0 conda-forge
pycosat 0.6.3 py39hb9d737c_1010 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 py39hf3d152e_5 conda-forge
python 3.9.13 h9a8a25e_0_cpython conda-forge
python_abi 3.9 2_cp39 conda-forge
readline 8.1 h46c0cb4_0 conda-forge
requests 2.27.1 pyhd8ed1ab_0 conda-forge
ruamel_yaml 0.15.80 py39hb9d737c_1007 conda-forge
setuptools 62.3.2 py39hf3d152e_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
sqlite 3.38.5 h4ff8645_0 conda-forge
tk 8.6.12 h27826a3_0 conda-forge
tqdm 4.64.0 pyhd8ed1ab_0 conda-forge
tzdata 2022a h191b570_0 conda-forge
urllib3 1.26.9 pyhd8ed1ab_0 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
xz 5.2.5 h516909a_1 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
zlib 1.2.12 h166bdaf_0 conda-forge
```
### Environment info
```shell
active environment : base
active env location : /home/grads/zhiyuyang4/miniforge3
shell level : 1
user config file : /home/grads/zhiyuyang4/.condarc
populated config files : /home/grads/zhiyuyang4/miniforge3/.condarc
conda version : 4.12.0
conda-build version : not installed
python version : 3.9.13.final.0
virtual packages : __cuda=11.6=0
__linux=5.4.0=0
__glibc=2.31=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/grads/zhiyuyang4/miniforge3 (writable)
conda av data dir : /home/grads/zhiyuyang4/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 : /home/grads/zhiyuyang4/miniforge3/pkgs
/home/grads/zhiyuyang4/.conda/pkgs
envs directories : /home/grads/zhiyuyang4/miniforge3/envs
/home/grads/zhiyuyang4/.conda/envs
platform : linux-64
user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.13 Linux/5.4.0-109-generic ubuntu/20.04.4 glibc/2.31
UID:GID : 5546:1055
netrc file : None
offline mode : False
```
Contributor guide
Assessment
This issue has not been assessed yet.