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

Cannot install bioconda-utils: UnsatisfiableError #847

Closed
mzytnicki opened this issue Mar 6, 2023 · 4 comments
Closed

Cannot install bioconda-utils: UnsatisfiableError #847

mzytnicki opened this issue Mar 6, 2023 · 4 comments

Comments

@mzytnicki
Copy link

Please accept my apologies for this newbie question.

I cannot intall bioconda-utils, and I always get this error:

(base) $ conda install -c bioconda bioconda-utils                                                                                                                              

UnsatisfiableError: The following specifications were found to be incompatible with each other:                                                                                                                    
                                                                                                                                                                                                               
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:                                                                              
                                                                                                                                                                                                               
  - feature:/linux-64::__glibc==2.35=0                       
  - feature:|@/linux-64::__glibc==2.35=0
                                                                                                                                                                                                                                                                                                                     
Your installed version is: 2.35                                                                                                                                                                                    
                                                                                                                                                                                                               
Note that strict channel priority may have removed packages required for satisfiability.                                                                                                                           

What I tried:

  • Uninstall miniconda (I tried to remove everything).
  • conda activate & conda deactivate several times
  • conda update conda

Actually, this last operation changed the feature:|@/linux-64::__glibc==2.35=0 to

  - python=3.10 -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']        

What are my options now?

(BTW: thank you for the wonderful work @(bio)conda!)

@daler
Copy link
Member

daler commented Mar 7, 2023

@mzytnicki have you set up your channels using the instructions at https://bioconda.github.io/?

If you don't want to do that, you'll need to use --channel conda-forge --channel bioconda --strict-channel-priority instead of just -c bioconda.

@mzytnicki
Copy link
Author

@daler thanks for the help!
Yes, I forgot to mention that I typed this beforehand:

$ conda config --add channels defaults
$ conda config --add channels bioconda
$ conda config --add channels conda-forge
$ conda config --set channel_priority strict

The result is still

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
                                                                                                                                                                                                           
  - feature:/linux-64::__glibc==2.35=0 
  - feature:|@/linux-64::__glibc==2.35=0
                                                                                                                                                                                                                                                                                                                 
Your installed version is: 2.35

Which I cannot make sense of...

@daler
Copy link
Member

daler commented Mar 7, 2023

Ok, next thing to try is to put bioconda-utils in its own environment, and while you're at it, install with mamba. That way the environment is created the same way as we do on the CI infrastructure.

e.g.,

mamba create -n bioconda bioconda-utils

It is likely that whatever environment you're installing into has some existing packages that are incompatible with bioconda-utils dependencies.

@mzytnicki
Copy link
Author

Works like a charm!

What I did:

$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh 
$ source ~/.bashrc
$ mamba create -n bioconda bioconda-utils
$ bioconda-utils -h
  [...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants