setup-miniconda icon indicating copy to clipboard operation
setup-miniconda copied to clipboard

Mamba build failing with "Cannot write repodata"

Open maxnoe opened this issue 2 years ago • 2 comments

https://github.com/conda-incubator/setup-miniconda/runs/5712984347?check_suite_focus=true

We see the same error in our CI jobs. Anything we can do?

maxnoe avatar Mar 28 '22 13:03 maxnoe

We fixed our CI build by adding:

      - name: Create conda cache dir
        run: |
          # fix mamba error that the directory does not exist
          mkdir -p ~/conda_pkgs_dir/cache

But this should probably be fixed here

maxnoe avatar Mar 29 '22 11:03 maxnoe

This could be considered a bug in mamba. I think conda ensures the directory exists. That said, we can probably add a workaround here too. Thanks!

jaimergp avatar Mar 31 '22 09:03 jaimergp