Cache issues with UV installation
Checks
-
[x] I have checked that this issue has not already been reported.
-
[x] I have confirmed this bug exists on the latest version of pixi, using
pixi --version.
Reproducible example
pixi clean cache --pypi
removed /homes/shaharba/.cache/rattler/cache/uv-cache
pixi install
Error: × Failed to update PyPI packages for environment 'default'
├─▶ error locking installation directory
╰─▶ failed to open file `/tmp/uv-b9565ec841d85410.lock`: Permission denied (os error 13)
A working env suddenly cached something and i couldnt install either
pixi install
pixi install --locked
i tried
pixi clean
pixi clean cache
pixi clean cache pip
rm -rf ./.pixi/
:(
Issue description
pixi clean cache --pypi
removed /homes/shaharba/.cache/rattler/cache/uv-cache
pixi install
Error: × Failed to update PyPI packages for environment 'default'
├─▶ error locking installation directory
╰─▶ failed to open file `/tmp/uv-b9565ec841d85410.lock`: Permission denied (os error 13)
Expected behavior
Install with no cache like that
Does this /tmp/uv-b9565ec841d85410.lock file still exist, and can you remove it?
Did you use sudo at some point?
It still exists, and I don't have sudo privileges, so I can't remove it.
Sorry for the late response @ShaharBand. If you still face this problem, could you please run ls -l on that directory to check the owner and permission of that file and post it here?