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?
when trying to install additional packages to an environment build from a lock file I get:
(pycpt_environment) luser@DTY378BHC2:~$ conda install r-essentials r-base
Channels:
- defaults
- conda-forge
- iri-nextgen
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
InvalidMatchSpec: Invalid spec 'conda-forge/linux-64::_libgcc_mutex==0.1=conda_forge[md5=d7c89558ba9fa0495403155b64376d81]': Libmamba only supports a subset of the MatchSpec interface for now. You can only use ('name', 'version', 'build', 'channel', 'subdir'), but you tried to use ('md5',).
Conda Info
(pycpt_environment) luser@DTY378BHC2:~$ conda info
active environment : pycpt_environment
active env location : /home/luser/miniconda3/envs/pycpt_environment
shell level : 1
user config file : /home/luser/.condarc
populated config files : /home/luser/.condarc
conda version : 23.11.0
conda-build version : not installed
python version : 3.11.5.final.0
solver : libmamba (default)
virtual packages : __archspec=1=skylake
__conda=23.11.0=0
__glibc=2.35=0
__linux=5.15.133.1=0
__unix=0=0
base environment : /home/luser/miniconda3 (writable)
conda av data dir : /home/luser/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/luser/miniconda3/pkgs
/home/luser/.conda/pkgs
envs directories : /home/luser/miniconda3/envs
/home/luser/.conda/envs
platform : linux-64
user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.5 Linux/5.15.133.1-microsoft-standard-WSL2 ubuntu/22.04.3 glibc/2.35 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3
UID:GID : 1000:1000
netrc file : None
offline mode : False
I think that my underlying problem is the inconstent packages, but I also think that libmamba should give a more helpful error if it can't solve this (and libmamba should be able to update a package with inconsistencies)
Added #429. libmamba ignores md5 fields (see issue), so we can safely drop them. I've used your lockfile locally and can reproduce the behaviour. After applying the fix, the environment solves without errors.
jezdez
changed the title
can't add additional packages to enviornment created from lock file
Can't add additional packages to enviornment created from lock file
Jan 26, 2024
Checklist
What happened?
when trying to install additional packages to an environment build from a lock file I get:
Conda Info
Conda Config
Conda list
Additional Context
lock file used to build the environment is this one: https://github.com/iri-pycpt/notebooks/releases/latest/download/conda-linux-64.lock
I have been able to work around this using --solver classic but the solve gets very slow
The text was updated successfully, but these errors were encountered: