twilio / twilio-cli

Unleash the power of Twilio from your command prompt
MIT License
162 stars 79 forks source link

Unable to install twilio from apt repository on Ubuntu arm64 #462

Open rectalogic opened 2 years ago

rectalogic commented 2 years ago

Issue Summary

Following the instructions here https://www.twilio.com/docs/twilio-cli/getting-started/install#apt to install on Ubuntu 20.04 from apt repository. This works on amd64 but fails on arm64

Steps to Reproduce

Follow the instructions at the link above. On amd64 this works properly. On arm64 it fails to find the package.

Code Snippet

$ sudo apt update
Hit:1 https://twilio-cli-prod.s3.amazonaws.com/apt  InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ sudo apt install -y twilio
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package twilio

We are building a multiplatform docker image that contains twilio-cli, so for both amd64 and arm64 we need to be able to apt install the same version of the twilio-cli

Looking at curl https://twilio-cli-prod.s3.amazonaws.com/apt/Packages.gz | gunzip - it looks like twilio uses Architecture: armel and Architecture: amd64, but no Architecture: arm64 and so Ubuntu cannot find any packages?

You can reproduce by running an ubuntu arm64 shell like docker run --rm -it --platform linux/arm64 ubuntu:focal bash and following the apt installation instructions at https://www.twilio.com/docs/twilio-cli/getting-started/install#apt

shrutiburman commented 2 years ago

Hey @rectalogic, thanks for reaching out. You're right, we currently do not support arm64. We are tracking this in our internal backlog. Pull requests and +1s on the feature request will help it move up the backlog.