Unable to install Azure CLI on ARM
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug I created a custom ARM build agent (Raspberry Pi 4) for Azure DevOps. The Azure CLI cannot be installed on a ARM device.
To Reproduce Run curl -L https://aka.ms/InstallAzureCli | bash on a ARM OS and following exception is thrown:
Step 17/20 : RUN curl -L https://aka.ms/InstallAzureCli | bash ---> Running in be258d20be60 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1405 100 1405 0 0 1222 0 0:00:01 0:00:01 --:--:-- 5665 Downloading Azure CLI install script from https://azurecliprod.blob.core.windows.net/install.py to /tmp/azure_cli_install_tmp_VfdhGm. ######################################################################## 100.0% /tmp/azure_cli_install_tmp_VfdhGm: OK Running install script. bash: line 42: /dev/tty: No such device or address The command '/bin/sh -c curl -L https://aka.ms/InstallAzureCli | bash' returned a non-zero code: 1
Expected behavior I expect the installation script to install the Azure CLI as described on docs.microsoft.com
Environment summary I tried to install the lastest version of Azure CLI on Raspbian/Stretch, Raspbian/Buster and arm32v7/Ubuntu18.04.
Additional context I installed tried to install the Azure CLI manually with the same result. Installing the classic Azure CLI works, but is not usable. Azure DevOps requires a newer version of Azure Cli.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top GitHub Comments
Same here, tried with docker and pip not luck pip3 seems to install it but can’t make it work, there is was a previous version working on Pi 2 that seems to worked.
Let’s focus on https://github.com/Azure/azure-cli/issues/7368.