zvm: `zvm upgrade` failure on ArchLinux
❯ zvm upgrade
There's a new version of ZVM (v0.4.0).
Run 'zvm upgrade' to install it!
Upgrading ZVM... 100% |██████████████████████████████████████████████████████████████████████████████████████████| (7.5/7.5 MB, 34 MB/s)
2023/11/02 18:52:55 ERRO this is a new command, and may have some issues. Consider reporting your problem on Github :) github=https://github.com/
tristanisham/zvm/issues
2023/11/02 18:52:55 FATA failed to self-upgrade zvm
rename /tmp/zvm-upgrade-2633282309/zvm /home/dogue/.zvm/self/zvm: invalid cross-device link
Was on 0.3.0, tried to upgrade and now my zvm installation appears to be broken. The .zvm folder is still in place but the shell can’t find the actual zvm binary.
Doing a fresh install seems to have worked to repair my install.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (14 by maintainers)
@xtexChooser Thank you so much for helping out. You helped a ton. All three of you are awesome.
Thanks @dogue! You really helped me out tonight,
Yeah I’m still a Go noob but I removed that version and verified that everything is good in
~/.zvmyeah it worked!
0.5.0 😁
I can as soon as I fix a no-boot condition.
@xtexChooser @darccyy @dogue Could one of you guys clone from the most recent master, change the version in
cli/meta/version.goto something less than the current version, build, and runZVM_DEBUG=1 zvm upgradeand let me know if it works?I updated the upgrade to now just use
~/.zvmas the temp dir and updated clean to take care of the upgrade files (It’ll call it right after upgrading). It works on my machine, but, ya know.also on openSUSE Tumbleweed, where
/tmpis also tmpfsThis is similar to the issue on Windows after fixing the unzipping issue. Thanks for posting this!