Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "unexpected io operation while removing clobbered file - Is a directory (os error 21)" error when regenerating pixi.lock with existing .pixi directory #963

Closed
2 tasks done
traversaro opened this issue Dec 1, 2024 · 1 comment

Comments

@traversaro
Copy link

traversaro commented Dec 1, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

On Linux (Ubuntu 24.04 WSL2, but I replicated it in CI in https://github.com/robotology/icub-models-generator/actions/runs/12100642126) with pixi 0.38.0:

git clone https://github.com/robotology/icub-models-generator
cd icub-models-generator
git checkout 87d1222322b9e0d80836d362ded8c20d9775145f
pixi install
rm -rf pixi.lock
pixi install

The second pixi install fails with:

traversaro@IITBMP014LW012:~/icub-models-generator$ pixi install
  ✔ validate cache       189 packages in 10s 247ms
  ⠦ download & extract   [00:00:10] [━━━━━━━━━━━━━━━─────] 116.32 MiB @ 10.30 MiB/s qt-main (+1)
  ⠦ installing packages  [00:00:10] [━━━━━━━━━━━━━━━━━━━━]   366/369 sysroot_linux-64
  × failed to link sysroot_linux-64-2.17-h4a8ded7_18.conda
  ├─▶ failed to link 'x86_64-conda-linux-gnu/sysroot/usr/share/zoneinfo'
  ├─▶ unexpected io operation while removing clobbered file
  ╰─▶ Is a directory (os error 21)

The workaround is simple (delete the .pixi folder) but it may not be obvious for non-expert users of pixi.

Additional Context

Downstream issue: robotology/icub-models-generator#278 .

@traversaro
Copy link
Author

Duplicate of #751 . I thought I was opening it in pixi, not sure why I opened it here.

@traversaro traversaro closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant