You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conda-libmamba-solver + libmamba 1.5.x cannot operate on read-only caches because loading via api.Repo(...) always tries to write the SOLV cache file back to disk, and fails to do so in the write permissions are not there:
File "/tmp/software/python/3.11.4/lib/python3.11/site-packages/conda_libmamba_solver/index.py", line 293, in _json_path_to_repo_info
repo = api.Repo(self._pool, noauth_url, str(path_to_use), escape_channel_url(noauth_url))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Permission denied
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Other (please describe)
Search tried in issue tracker
writable read-only cache
Latest version of Mamba
Tried in Conda?
Not applicable
Describe your issue
Comes from conda/conda-libmamba-solver#522
conda-libmamba-solver + libmamba 1.5.x cannot operate on read-only caches because loading via
api.Repo(...)
always tries to write the SOLV cache file back to disk, and fails to do so in the write permissions are not there:I think this line:
mamba/libmamba/src/core/repo.cpp
Line 332 in 4f26925
should have some error handling because that
write_solv()
call is not critical to the repo loading. Nice to have, sure, but not required.mamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc
No response
The text was updated successfully, but these errors were encountered: