question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Zeushncommented, Feb 24, 2021

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.

0reactions
jiaslicommented, Sep 17, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install the Azure CLI
To install the Azure CLI on Windows, you must use Powershell, or an MSI installer, which gives you access to the CLI through...
Read more >
is it possible to install latest azure-cli in ubuntu arm64
Usually you would install azure CLI on Ubuntu with this command: sudo curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash.
Read more >
How to Install Azure CLI (Windows, Linux, macOS ...
Installing the Azure CLI via MSI Installer ... If you're not comfortable with PowerShell, you can always install the Azure CLI the old-fashioned ......
Read more >
Install and Run Azure CLI on Mac
Installing Azure CLI for Mac. Back to installation instructions on Microsoft website, get the following code to download the Azure CLI package and...
Read more >
azure-devops-cli-extension issues on ARM64
Running azure-devops extensions commands on Windows 11 ARM64 results in an error: az artifacts universal download … Failed to update Universal Packages tooling....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found