Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenLens 6.3.0 arm64 brew installation error #88

Closed
qrnik opened this issue Jan 2, 2023 · 10 comments
Closed

OpenLens 6.3.0 arm64 brew installation error #88

qrnik opened this issue Jan 2, 2023 · 10 comments

Comments

@qrnik
Copy link

qrnik commented Jan 2, 2023

OpenLens 6.3.0 arm64 does not install on macOS via brew due to SHA mismatch

~ ❯ brew install --cask openlens                                                                                                                                                                                                                                                                                                                                   
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0-arm64.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/019dc6d5-ba82-4b3d-800f-5aadb87a39a4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230102%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230102T141506Z&X-Amz-Expires=300&X-Amz-Signature=22bde4ffdc3d5150eb63009a3996860acbb01e76f81
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 71c8a86161d17143251e6a9bf202d7d014573a6c6906c06f5d9ece33c2889f06
  Actual: bd356557c1518f7e2d95166de4d0abfff6e4c49141c060fe7e3eef2a0303a1f5
@juliocesarsantos1020
Copy link

I have the same problem

@biswanaths
Copy link

biswanaths commented Jan 2, 2023

The same error for the x86_64 arch. Seems the sha is updated wrong in the cask.

sha in cask for x86_64
a3dcac335e75f267bfd3f98f6911fd831ac8688de60dbe68399cb0746087e2cf
And arms is
71c8a86161d17143251e6a9bf202d7d014573a6c6906c06f5d9ece33c2889f06
Taken from here https://formulae.brew.sh/api/cask/openlens.json.

While the asset sha are different
x86_64 https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0.dmg.sha256
arm https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0-arm64.dmg.sha256

The asset sha seems to be the right ones, if I take the sha of the downloaded dmg.

Temporary fix.

brew edit openlens
And change the sha from the assets which are
for x86_64
2eb1848bb189041c4475054631a5b33a8ccd00c6eedbb74776b3dd1f54db7898
for arm
bd356557c1518f7e2d95166de4d0abfff6e4c49141c060fe7e3eef2a0303a1f5

@biswanaths
Copy link

Also you can directly install the dmg
arm
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0-arm64.dmg
and x86_64
using https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0.dmg

@juliocesarsantos1020
Copy link

Thanks @biswanaths!
I was able to install as you said. But I have a problem, when I connect to the cluster nothing appears.
Captura de Tela 2023-01-02 às 12 16 44

@biswanaths
Copy link

biswanaths commented Jan 2, 2023

@juliocesarsantos1020 Please use dmg 6.2.5 version, which seems to be working fine. Not sure what else is the problem with 6.3.0. Has not tested any higher version though.

arm
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.5/OpenLens-6.2.5-arm64.dmg
and x86_64
using https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.5/OpenLens-6.2.5.dmg

@juliocesarsantos1020
Copy link

Thank you very much

@biswanaths
Copy link

biswanaths commented Jan 2, 2023

My bad there is this issue with #81
This is fixed in master and will probably released in 6.4.

@Yoniseg
Copy link

Yoniseg commented Jan 2, 2023

Also got the same error using mac m1

@juliocesarsantos1020
Copy link

I got it

@MuhammedKalkan
Copy link
Owner

See 6.4.0 and open new if still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants