gk-cli icon indicating copy to clipboard operation
gk-cli copied to clipboard

[BUG] CLI core fails to install on Linux when /home and root are on separate paritions

Open joshualmashburn opened this issue 1 year ago • 3 comments

Description

I installed the amd64 rpm on my Fedora 42 device, but I cannot do anything with it. When I try to run it, the cli core tries to install and set up a symlink, but I get the error: invalid cross-device link. Why even do a system-level installation if it's just gonna set up shop in the user's home folder anyway?

Just tried again with the zip download, copied to /usr/local/bin/gk but I get the same error. Even just "./gk" in the unzipped folder in my ~/Downloads folder doesn't change anything.

GitKraken CLI Version

3.1.20

OS Version

Fedora 42 x86_64

Git Version

No response

Logs, Screenshots, Screen Captures, URLs, etc

On first (and every) run:

Installing GitKraken core rename /tmp/gkinstall3863617291/gk /home/joshua/.local/share/GitKrakenCLI/versions/gk_3_1_22: invalid cross-device link (exits)

joshualmashburn avatar Sep 15 '25 12:09 joshualmashburn

Please take a look at my workaround:

https://github.com/gitkraken/gk-cli/issues/155#issuecomment-3295609467

robert-flo avatar Sep 16 '25 05:09 robert-flo

@miguelb-gk - The issue seems to be fixed in CLI v.3.1.27.

nikolay-1986 avatar Sep 17 '25 08:09 nikolay-1986

Fixed in version 3.1.27

miguelb-gk avatar Sep 17 '25 13:09 miguelb-gk