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
I searched open reports and couldn't find a duplicate
What happened?
After installing Miniconda with libmamba solver as default (I did not have any other conda installation previously),
I used the command conda update --all --dry-run --offline
and this is the error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/miniconda3/pkgs/cache/47929eba.info.json'
If I execute conda install python --dry-run
such file is generated and --offline options works
Note: With the classic solver I do not have this issue.
Conda Info
active environment : base
active env location : /home/miniconda3
shell level : 1
user config file : /home/.condarc
populated config files : /home/.condarc
conda version : 23.10.0
conda-build version : not installed
python version : 3.11.5.final.0
virtual packages : __archspec=1=x86_64_v4
__glibc=2.35=0
__linux=5.15.0=0
__unix=0=0
base environment : /home/miniconda3 (writable)
conda av data dir : /home/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/miniconda3/pkgs
/home/.conda/pkgs
envs directories : /home/miniconda3/envs
/home/.conda/envs
platform : linux-64
user-agent : conda/23.10.0 requests/2.31.0 CPython/3.11.5 Linux/5.15.0-75-generic ubuntu/22.04.2 glibc/2.35 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3
UID:GID : 1000:1000
netrc file : None
offline mode : False
I'm not exactly sure what is supposed to happen with an offline update where there's no cache. What kind of behaviour are you expecting? Thanks for clarifying! 🙏
I expect a similar behavior as with classic solver, or a warning message.
I used miniconda as an example. I found the issue while I was using an installer build with conda constructor. I made the installation with option -k (keep cache). If I use --offline with classic solver, there is no error.
With libmamba solver I need to use a conda install command to generare the chache files, and after I can use the --offline option.
Checklist
What happened?
After installing Miniconda with libmamba solver as default (I did not have any other conda installation previously),
I used the command
conda update --all --dry-run --offline
and this is the error:
If I execute
conda install python --dry-run
such file is generated and --offline options works
Note: With the classic solver I do not have this issue.
Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: