bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.27k stars 1.25k forks source link

Unable to install bw-cli snap on Linux ARM #5262

Open jeankhawand opened 1 year ago

jeankhawand commented 1 year ago

Steps To Reproduce

  1. Open Terminal
  2. Run snap install --classic bw
  3. get the following error
    error: snap "bw" is not available on stable for this architecture (arm64) but exists on other
       architectures (amd64).

Expected Result

should get bw-cli functional

Actual Result

error: snap "bw" is not available on stable for this architecture (arm64) but exists on other
       architectures (amd64).

Screenshots or Videos

image

Additional Context

No response

Operating System

Linux

Operating System Version

Ubuntu 22.04

Shell

Bash, Zsh

Build Version

N/A

Issue Tracking Info

jeankhawand commented 1 year ago

I can see that snap is using a base18 which is not supported anymore https://github.com/bitwarden/clients/blob/e777842191c38849ebfed3a6027a7d346aa578a2/apps/cli/stores/snap/snapcraft.yaml#L31 worth if it is possible to apply base20 mentioned over here https://snapcraft.io/docs/base-snaps It's not related to the mentioned issue :) but just saying why not updating it

jeankhawand commented 1 year ago

in github action it is only uploading amd64 snap – obviously github actions uses runners which are amd64 😕 https://github.com/bitwarden/clients/blob/e777842191c38849ebfed3a6027a7d346aa578a2/.github/workflows/build-cli.yml#L357

Adedamola-Aina commented 1 year ago

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

canine-afficionado commented 1 year ago

@Adedamola-Aina the issue is that there isn't ARM builds of bitwarden products. This needs to be rectified ASAP. @noahjahn has done some work on it here https://github.com/bitwarden/clients/pull/2976 but it appears to waiting for review. Can someone from bitwarden get this working please?

DoctorOgg commented 11 months ago

another ARM linux user here, and I would love to see ARM support ASAP

Thanks

ra-albrecht commented 11 months ago

Ok, meanwhile it is really annoying that there is no arm64 port of the client on linux machines. ARM64 isn't an environment invented two years ago. As a manager of BW enterprise, I can't enroll the full client in a lot of linux environments running on ARM64.

I absolutely don't understand what the problem is. That the server isn't yet ported to ARM64, ok. But the client? Really?

Please build the client for ARM64, too and enroll it into SNAP.