[Bug] Update process leaves stale lock file, blocking subsequent updates
Bug Description Every time I try to update I get the same error, last 3 updates:
trying to run: claude update
Result: Current version: 2.0.65 Checking for updates... Another process is currently updating Claude. Please try again in a moment.
Then I have to find the lock files and delete them in ~/.local/state/claude/locks
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.65
- Feedback ID: 2277cbad-43cb-42ca-a40e-ec1c0cc2df03
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/..../.local/share/claude/versions/2.0.65 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at ZAA (/$bunfs/root/claude:2597:1296)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T15:56:31.922Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/..../.local/share/claude/versions/2.0.64 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at XAA (/$bunfs/root/claude:2595:35624)\n at async LAA (/$bunfs/root/claude:2597:3428)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T15:56:32.059Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/..../.local/share/claude/versions/2.0.65 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at XAA (/$bunfs/root/claude:2595:35624)\n at async DdD (/$bunfs/root/claude:2595:37725)\n at async cj (/$bunfs/root/claude:2597:236)\n at async <anonymous> (/$bunfs/root/claude:2597:13006)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T15:56:40.895Z"}]
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/13085
- https://github.com/anthropics/claude-code/issues/13653
- https://github.com/anthropics/claude-code/issues/13599
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
My issue is updating, not installing. And on Mac, not linux
Same issue on Mac. Was trying to update to 2.0.65. Thanks @graham-u for the delete lock files tip!
had the same issue on Ubuntu also, once when trying to update to 2.0.65 and again when trying to update to 2.0.68 had to delete .local/state/claude/locks/*.lock files to resolve , tried also reboot before that - didn`t resolved until .lock files were deleted
had the same issue on Ubuntu also, once when trying to update to 2.0.65 and again when trying to update to 2.0.68 had to delete .local/state/claude/locks/*.lock files to resolve , tried also reboot before that - didn`t resolved until .lock files were deleted
This worked for me. Thanks.
Happened to me, ran ~/.local/share/claude/versions/2.0.74 and rm -rf ~/.local/state/claude/locks/2.0.74.lock and then claude update and the update worked.