Skip to content

Conversation

@rzelle-lallemand
Copy link

@rzelle-lallemand rzelle-lallemand commented Dec 24, 2025

As discussed in e.g. actions/runner-images#12641, recent versions of miniconda are prompting the user to accept the terms of service of the default anaconda channels. This makes the original command $HOME/miniconda/bin/conda install -c conda-forge -y awscli fail:

$ $HOME/miniconda/bin/conda install -c conda-forge -y awscli

CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept                                            or remove them before proceeding:
    - https://repo.anaconda.com/pkgs/main
    - https://repo.anaconda.com/pkgs/r

To accept these channels' Terms of Service, run the following commands:
    conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
    conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r

For information on safely removing channels from your conda configuration,
please see the official documentation:

    https://www.anaconda.com/docs/tools/working-with-conda/channels

This PR circumvents the Terms of Service acceptance prompt for miniconda's default "main" and "r" channels, by overriding the lookup channels to just "conda-forge" through the use of the "--override-channels" flag.

Alternative, the instructions could switch from using miniconda to something like miniforge which defaults to only using conda-forge.

Circumvents Terms of Service acceptance prompt for miniconda's default "main" and "r" channels.

Signed-off-by: Rintze Zelle <[email protected]>
@rzelle-lallemand rzelle-lallemand requested a review from a team as a code owner December 24, 2025 02:56
@netlify
Copy link

netlify bot commented Dec 24, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit d008539
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/694b5672dcc39a0008d66834
😎 Deploy Preview https://deploy-preview-6685--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Successfully merging this pull request may close these issues.

1 participant