jesseduffield / lazygit

simple terminal UI for git commands
MIT License
50.18k stars 1.78k forks source link

Unable to update lazygit - Invalid cross-device link #3494

Open likendev opened 4 months ago

likendev commented 4 months ago

Describe the bug Failed to update to version v0.41.0 by pressing the u key.

To Reproduce Steps to reproduce the behavior:

  1. Open lazygit
  2. Go to status panel
  3. Press on k key to update the lazygit client
  4. Press enter to confirm
  5. Notice the error

Expected behavior Update client successfully

Screenshots image

Version info:

❯ lazygit -v
commit=, build date=, build source=unknown, version=0.38.2, os=linux, arch=amd64, git version=2.44.0
askmarkio commented 2 months ago

Interestingly, when you execute the update option, it writes out the lazygit file to whatever directory you happen to be in:

image

Workaround

I downloaded the released binary and replaced the one in /usr/bin