-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Unofficial Azure CLI deb packages are distributed by Linux repositories #19640
Comments
https://packages.microsoft.com/ is the ONLY source where official Azure CLI packages are distributed.Install official Azure CLITo install the latest official Azure CLI, please follow the official document: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt Uninstall unofficial Azure CLIIf you have already installed the unofficial Azure CLI, you may uninstall it first with
In a docker container:
Then install from the official source. |
On debian testing, when I'm using the automated installed ( |
Azure CLI on Debian sid@bluca, I noticed that recently you have published azure-cli (2.33.0-2) for Debian sid: https://packages.debian.org/sid/azure-cli This makes it impossible to install official Azure CLI 2.33.0 from https://packages.microsoft.com/repos/azure-cli/ What is the best way to install official Azure CLI from https://packages.microsoft.com/repos/azure-cli/ , instead of Debian's repo? |
[Outdated] How to tell if the installed Azure CLI is officialAn unofficial Azure CLI will show info like this (from #21254):
We can tell this is not an Azure CLI deb package released by Microsoft, because the official Azure CLI deb package doesn't bundle Python 3.9.10. Instead, the bundled Python in the official deb package is currently 3.6.10. (We are working on moving to Python 3.8 in #20869.) |
Community packagers release unofficial Azure CLI deb packages on multiple Linux repositories. These packages are not maintained by Microsoft, outdated, and contain various bugs.
Ubuntu
2.0.81 for Focal 20.04
Package: https://packages.ubuntu.com/source/focal/azure-cli
Issues: https://github.com/Azure/azure-cli/issues?q=is%3Aissue+2.0.81
2.18.0 for Hirsute 21.04
Package: https://packages.ubuntu.com/hirsute/python3-azure-cli
Issues: https://github.com/Azure/azure-cli/issues?q=is%3Aissue+2.18.0
Debian
2.18.0 for Bullseye 11
Package: https://packages.debian.org/bullseye/azure-cli
Issues: https://github.com/Azure/azure-cli/issues?q=is%3Aissue+2.18.0
2.37.0 for sid (unstable)
Package: https://packages.debian.org/sid/azure-cli
How unofficial Azure CLI is installed
Ubuntu 20.04 Focal, Debian 11 Bullseye
The user doesn't follow the Install the Azure CLI on Linux official document to add Microsoft Linux Repo (https://packages.microsoft.com/repos/azure-cli/) to
apt
.apt install azure-cli
will install the above unofficial ones from Debian/Ubuntu repo.Debian sid
Even though the user added Microsoft Linux Repo (https://packages.microsoft.com/repos/azure-cli/) to
apt
,apt update
fails because we don't release deb package for Debian sid:apt install azure-cli
will install the unofficial 2.37.0.The text was updated successfully, but these errors were encountered: