issue-tracker icon indicating copy to clipboard operation
issue-tracker copied to clipboard

Kite on Linux is failing update

Open IslamAlam opened this issue 3 years ago • 2 comments

Required Information To help us triage your issue effectively, please make sure you've completed these steps before opening this issue. Issues with not enough information may be deprioritized or ignored.

  • [x] Read our guide on how to report an issue.
  • [x] Include your Kite application logs, taken while you are experiencing your issue.
  • [ ] If reporting a performance problem, include your resource usage logs, taken while you are experiencing your issue.
  • [ ] If reporting an issue with Kite's editor plugin, include which editor you are using and the version, and any accompanying logs from your editor's console.

Describe the bug Kite is falling to install new updates due to invalid checksum Version: 2.20210310.0

$  ~/.local/share/kite/current/kite-update update
[update] found version 2.20210524.0 installed
[update] latest version is 2.20210527.0, downloading now...
[update] Downloading Kite:   99.9% of 14 MiB
[update] verifying checksum
[update] validating signature
[update] installing version 2.20210527.0
[update] failed to update kite: exit status 1, output: 'Creating directory patch
Verifying archive integrity...  100%   All good.
Uncompressing Kite patch updater, version 2.20210524.0-2.20210527.0  100%  
Creating tar of previous version directory...
Applying patch update... 
bspatch: Invalid input checksum: expected 45 ca 23 dc 03 24 0b 7d 83 af 28 81 d8 61 b8 19 67 37 33 1f 91 43 cf b2 8c 25 5e 28 00 e8 c0 f0, but got 01 3b b4 f7 ef 5a f8 90 be 16 c3 7b 53 86 d4 92 4a a1 a9 d0 15 23 1d 83 94 02 76 1e 7b eb 2f e0
usage: ./bspatch oldfile newfile patchfile
Cleaning up...
'

Screenshots If applicable, add screenshots to help explain your problem. image

IslamAlam avatar May 31 '21 16:05 IslamAlam

Same here but with different version:

> ~/.local/share/kite/current/kite-update update
[update] found version 2.20210607.0 installed
[update] latest version is 2.20210610.0, downloading now...
[update] Downloading Kite:  100.0% of 1.4 MiB
[update] verifying checksum
[update] validating signature
[update] installing version 2.20210610.0
[update] failed to update kite: exit status 1, output: 'Creating directory patch
Verifying archive integrity...  100%   All good.
Uncompressing Kite patch updater, version 2.20210607.0-2.20210610.0  100%
Creating tar of previous version directory...
Applying patch update...
bspatch: Invalid input checksum: expected 58 4e 40 ae 99 dd b0 cd 88 77 77 6f 48 89 0d 91 f3 1f fb fb d8 05 31 e2 a2 f7 33 44 03 c8 6d 82, but got 86 f4 1e b2 fe 90 b8 bc a8 42 75 e5 e7 d1 f8 ce 16 2c 01 14 14 7f 9f 56 59 62 b8 87 cb ec 73 76
usage: ./bspatch oldfile newfile patchfile
Cleaning up...
'

> ~/.local/share/kite/current/kite-update update force
[update] found version 2.20210607.0 installed
[update] latest version is 2.20210610.0, downloading now...
[update] Downloading Kite:  100.0% of 1.4 MiB
[update] verifying checksum
[update] validating signature
[update] not updating because kited isn't ready to restart, terminating

Wrong checksum for updater script hint from https://help.kite.com/article/106-linux-install-issues is irrelevant as it refers to the files I can't locate inside ~/.local/share/kite/ directory.

yermulnik avatar Jul 13 '21 09:07 yermulnik

Seems it's kinda periodically happening: https://github.com/kiteco/issue-tracker/issues/574, https://github.com/kiteco/issue-tracker/issues/746

yermulnik avatar Jul 13 '21 09:07 yermulnik