MuhammedKalkan / OpenLens

OpenLens Binary Build Repository
4.07k stars 272 forks source link

Unable to install 6.4.15 with winget - SHA256 Mistmatch #139

Closed ljromero closed 1 year ago

ljromero commented 1 year ago

Trying to install 6.4.15 via winget results in the error below:

PS > winget install openlens
Found OpenLens [MuhammedKalkan.OpenLens] Version 6.4.15
Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.4.15/OpenLens-6.4.15.exe
  ██████████████████████████████   131 MB /  131 MB
The installer hash does not match.
borovoykirill commented 1 year ago

The same problem on macOS with v6.4.15

andrievsky commented 1 year ago

Confirmed the issue on mac:

brew install --cask openlens ==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.4.15/OpenLens-6.4.15-arm64.dmg ==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/012e8407-fda6-4414-b3b2-9e998598e877?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230413%2Fus-east ######################################################################## 100.0% Error: SHA256 mismatch Expected: 5a6ff4fe8ddcedda946666188a4bd1f92256ea6baa4d575f040c1a2b0c5bec9d Actual: c01d0dd08c7ad23773398e1042a680832d4377d46c850b134642f4a6c0fa3b2f File: /Users/[USER_NAME]/Library/Caches/Homebrew/downloads/13670abf74c32c1da9848c31ec4d1a41bd67afd5bbe6ce8f34530ca070e53382--OpenLens-6.4.15-arm64.dmg To retry an incomplete download, remove the file above.

MuhammedKalkan commented 1 year ago

Original lens repo marked 6.5.XX as prerelease as it should be right after build is triggered for them (since they were marked as release ). That caused a rebuild and now SHAs dont match.

There is nothing to do here on this side. Update SHAs on package managers if possible

see: https://github.com/lensapp/lens/commit/adf67fb6a76382859cbaf6f20704a6469ba4bdfd

ljromero commented 1 year ago

Thx for your answers.

I don't know how to force the SHAs update for winget, but meantime, in windows we can download manually the installer file from this url:

https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.4.15/OpenLens-6.4.15.exe