pixi global sync
shouldn't fail when no executable has been found
#2692
Labels
area:global
Related to pixi global
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Install an old version of python
Modify the version of
python
in the manifest to*
Remove the environment to force a reinstall on sync
rm ~/.pixi/envs/python
Sync the manifest with the environments
Issue description
This makes sense when the user adds a wrong executable, but because of the packages possibly changing executables between versions. This can fail on reinstallations or clean installations of the manifest.
Expected behavior
I would expect pixi to ask if it is okay to remove it. e.g.
The text was updated successfully, but these errors were encountered: