Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found conflicts! Looking for incompatible packages when updating base environment. #12155

Closed
2 tasks done
abedhammoud opened this issue Dec 7, 2022 · 4 comments
Closed
2 tasks done
Assignees
Labels
locked [bot] locked due to inactivity pending::support indicates user is waiting on support from triage engineers severity::3 major; broken functionality with a workaround type::bug describes erroneous operation, use severity::* to classify the type

Comments

@abedhammoud
Copy link

Checklist

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

What happened?

After a fresh install of miniconda3, I have the following CONDA_EXE in the conda.sh file:

export CONDA_EXE='/cygdrive/c/b/abs_67xozs_u6y/croot/conda_1670407450197/_h_env/Scripts/conda.exe'

when I execute

conda init bash

the variable changes to:

export CONDA_EXE='/cygdrive/c/Users/abed/miniconda3/Scripts/conda.exe'

as expected.

Then when I try to update the base environment,

conda update --name base --channel default --all

I get the following:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining python=3.9:  29%|█████████████████████████████▋                                                                          | 2/7 [00:00<00:02,  2.22it/s]/Examining conflict for console_shortcut powershell_shortcut menuinst:  71%|████████████████████████████████████████                | 5/7 [00:00<00:00, 26.76it/s]|Examining conflict for python conda: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:01<00:00,  6.47it/s]\failed                                                                                                                                                         /

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package setuptools conflicts for:
conda[version='>=22.11.1'] -> ruamel.yaml[version='>=0.11.14,<0.17'] -> setuptools
python=3.9 -> pip -> setuptools
conda[version='>=22.11.1'] -> setuptools[version='>=31.0.1']

Package pypy3.7 conflicts for:
conda[version='>=22.11.1'] -> conda-package-handling[version='>=1.3.0'] -> pypy3.7[version='7.3.5.*|7.3.7.*|>=7.3.5|>=7.3.7']
console_shortcut -> python -> pypy3.7[version='7.3.5.*|7.3.7.*']
powershell_shortcut -> python -> pypy3.7[version='7.3.5.*|7.3.7.*']
menuinst -> python[version='>=3.7,<3.8.0a0'] -> pypy3.7[version='7.3.5.*|7.3.7.*']

Package expat conflicts for:
menuinst -> pypy3.9[version='>=7.3.9'] -> expat[version='>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0']
python=3.9 -> pypy3.9=7.3.9 -> expat[version='>=2.4.7,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0']

Package vs2008_runtime conflicts for:
console_shortcut -> python -> vs2008_runtime
menuinst -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime[version='>=9.0.30729.1,<10.0a0']
powershell_shortcut -> python -> vs2008_runtime

Package menuinst conflicts for:
conda[version='>=22.11.1'] -> menuinst[version='>=1.4.11,<2']
menuinst

Package ca-certificates conflicts for:
menuinst -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
powershell_shortcut -> python -> ca-certificates
console_shortcut -> python -> ca-certificates
python=3.9 -> openssl[version='>=3.0.7,<4.0a0'] -> ca-certificates

Package vs2010_runtime conflicts for:
powershell_shortcut -> python -> vs2010_runtime
console_shortcut -> python -> vs2010_runtime

Package ucrt conflicts for:
python=3.9 -> libsqlite[version='>=3.40.0,<4.0a0'] -> ucrt[version='>=10.0.20348.0']
conda[version='>=22.11.1'] -> conda-package-handling[version='>=1.3.0'] -> ucrt[version='>=10.0.20348.0']
menuinst -> pypy3.9[version='>=7.3.9'] -> ucrt[version='>=10.0.20348.0']
Note that strict channel priority may have removed packages required for satisfiability.

If I try to update the base environment again, I get:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.-
Examining conflict for menuinst conda python:  57%|█████████████████████████████████████████████▋                                  | 4/7 [00:00<00:00, 28.10it/s]-failed                                                                             \

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package expat conflicts for:
python=3.9 -> pypy3.9=7.3.9 -> expat[version='>=2.4.7,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0']
menuinst -> pypy3.9[version='>=7.3.9'] -> expat[version='>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0']

Package ca-certificates conflicts for:
console_shortcut -> python -> ca-certificates
menuinst -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
powershell_shortcut -> python -> ca-certificates
python=3.9 -> openssl[version='>=3.0.7,<4.0a0'] -> ca-certificates

Package pypy3.7 conflicts for:
powershell_shortcut -> python -> pypy3.7[version='7.3.5.*|7.3.7.*']
console_shortcut -> python -> pypy3.7[version='7.3.5.*|7.3.7.*']
conda[version='>=22.11.1'] -> conda-package-handling[version='>=1.3.0'] -> pypy3.7[version='7.3.5.*|7.3.7.*|>=7.3.5|>=7.3.7']
menuinst -> python[version='>=3.7,<3.8.0a0'] -> pypy3.7[version='7.3.5.*|7.3.7.*']

Package pypy3.8 conflicts for:
menuinst -> pypy3.8[version='>=7.3.9']
menuinst -> python[version='>=3.8,<3.9.0a0'] -> pypy3.8[version='7.3.*|7.3.8.*|7.3.9.*']

Package menuinst conflicts for:
menuinst
conda[version='>=22.11.1'] -> menuinst[version='>=1.4.11,<2']

Package vs2008_runtime conflicts for:
menuinst -> python[version='>=2.7,<2.8.0a0'] -> vs2008_runtime[version='>=9.0.30729.1,<10.0a0']
console_shortcut -> python -> vs2008_runtime
powershell_shortcut -> python -> vs2008_runtime

Package ucrt conflicts for:
python=3.9 -> libsqlite[version='>=3.40.0,<4.0a0'] -> ucrt[version='>=10.0.20348.0']
menuinst -> pypy3.9[version='>=7.3.9'] -> ucrt[version='>=10.0.20348.0']
conda[version='>=22.11.1'] -> conda-package-handling[version='>=1.3.0'] -> ucrt[version='>=10.0.20348.0']

Package vs2010_runtime conflicts for:
powershell_shortcut -> python -> vs2010_runtime
console_shortcut -> python -> vs2010_runtime

Package setuptools conflicts for:
conda[version='>=22.11.1'] -> ruamel.yaml[version='>=0.11.14,<0.17'] -> setuptools
conda[version='>=22.11.1'] -> setuptools[version='>=31.0.1']

Package requests conflicts for:
conda[version='>=22.11.1'] -> requests[version='>=2.20.1,<3']
python=3.9 -> pip -> requests
Note that strict channel priority may have removed packages required for satisfiability.

make: *** [Makefile:157: update-base] Error 1
(base)

If I deactivate the base environment and then try to update, I get:

Collecting package metadata (current_repodata.json): failed

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.

Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /default/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))


make: *** [Makefile:157: update-base] Error 1

Conda Info

active environment : base
    active env location : C:\Users\abed\miniconda3
            shell level : 1
       user config file : C:\Users\abed\.condarc
 populated config files : C:\Users\abed\.condarc
          conda version : 22.11.1
    conda-build version : not installed
         python version : 3.9.12.final.0
       virtual packages : __archspec=1=x86_64
                          __win=0=0
       base environment : C:\Users\abed\miniconda3  (writable)
      conda av data dir : C:\Users\abed\miniconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\abed\miniconda3\pkgs
                          C:\Users\abed\.conda\pkgs
                          C:\Users\abed\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\abed\miniconda3\envs
                          C:\Users\abed\.conda\envs
                          C:\Users\abed\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/22.11.1 requests/2.28.1 CPython/3.9.12 Windows/10 Windows/10.0.22621
          administrator : False
             netrc file : None
           offline mode : False

Conda Config

auto_activate_base: True
ssl_verify: True
channel_priority: strict
channels:
  - conda-forge
  - defaults

Conda list

# packages in environment at C:\Users\abed\miniconda3:
#
# Name                    Version                   Build  Channel
brotlipy                  0.7.0           py39h2bbff1b_1003    defaults
ca-certificates           2022.10.11           haa95532_0    defaults
certifi                   2022.9.24        py39haa95532_0    defaults
cffi                      1.15.1           py39h2bbff1b_2    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
colorama                  0.4.5            py39haa95532_0    defaults
conda                     22.11.1          py39haa95532_1    defaults
conda-package-handling    1.9.0            py39h8cc25b3_1    defaults
console_shortcut          0.1.1                         4    defaults
cryptography              38.0.1           py39h21b164f_0    defaults
idna                      3.4              py39haa95532_0    defaults
menuinst                  1.4.18           py39h59b6b97_0    defaults
openssl                   1.1.1s               h2bbff1b_0    defaults
pip                       22.2.2           py39haa95532_0    defaults
pluggy                    1.0.0            py39haa95532_1    defaults
powershell_shortcut       0.0.1                         3    defaults
pycosat                   0.6.4            py39h2bbff1b_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyopenssl                 22.0.0             pyhd3eb1b0_0    defaults
pysocks                   1.7.1            py39haa95532_0    defaults
python                    3.9.12               h6244533_0    defaults
pywin32                   305              py39h2bbff1b_0    defaults
requests                  2.28.1           py39haa95532_0    defaults
ruamel.yaml               0.16.12          py39h2bbff1b_3    defaults
ruamel.yaml.clib          0.2.6            py39h2bbff1b_1    defaults
setuptools                65.5.0           py39haa95532_0    defaults
sqlite                    3.40.0               h2bbff1b_0    defaults
toolz                     0.12.0           py39haa95532_0    defaults
tqdm                      4.64.1           py39haa95532_0    defaults
tzdata                    2022g                h04d1e81_0    defaults
urllib3                   1.26.12          py39haa95532_0    defaults
vc                        14.2                 h21ff451_1    defaults
vs2015_runtime            14.27.29016          h5e58377_2    defaults
wheel                     0.37.1             pyhd3eb1b0_0    defaults
win_inet_pton             1.1.0            py39haa95532_0    defaults
wincertstore              0.2              py39haa95532_2    defaults

Additional Context

I am using the latest version of Cygwin (3.4.0-1x86_64) on a windows 11 machine.

@abedhammoud abedhammoud added the type::bug describes erroneous operation, use severity::* to classify the type label Dec 7, 2022
@dholth dholth self-assigned this Dec 7, 2022
@jezdez
Copy link
Member

jezdez commented Dec 7, 2022

Would you mind trying?

conda update --name base --override-channels --channel defaults --all

Thank you!

@jezdez jezdez added pending::feedback indicates we are waiting on feedback from the user severity::3 major; broken functionality with a workaround labels Dec 7, 2022
@abedhammoud
Copy link
Author

Thanks, @jezdez; adding the --override-channels flag solved the issue. Should I close the issue?

@conda-bot conda-bot added pending::support indicates user is waiting on support from triage engineers and removed pending::feedback indicates we are waiting on feedback from the user labels Dec 8, 2022
@abedhammoud
Copy link
Author

sorry, but later today, I decided to re-update base environment using:

conda update --name base --override-channels --channel default --all --yes

and I am getting errors again:

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:

  - defaults/win-64::conda==22.11.1=py39haa95532_3
failed with repodata from current_repodata.json, will retry with next repodata source.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::conda==22.11.1=py39haa95532_3
failed
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package menuinst conflicts for:
menuinst
conda[version='>=22.11.1'] -> menuinst[version='>=1.4.11,<2']

Package setuptools conflicts for:
conda[version='>=22.11.1'] -> setuptools[version='>=31.0.1']
python=3.9 -> pip -> setuptools
Note that strict channel priority may have removed packages required for satisfiability.

make: *** [Makefile:139: update-base] Error 1
(base)

@abedhammoud
Copy link
Author

Not getting the error after the last update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity pending::support indicates user is waiting on support from triage engineers severity::3 major; broken functionality with a workaround type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

No branches or pull requests

5 participants