Comments (3)
I suspect you’re on 16.04, you should have the ~xenial version. I suspect you have the ~wheezy version as I reproduced this with those steps.
You can use ‘dpkg -s azure-cli’ to check yourself.
dpkg -s azure-cli
Package: azure-cli
Status: install ok installed
Priority: extra
Section: python
Installed-Size: 262909
Maintainer: Azure Python CLI Team <[email protected]>
Architecture: all
Version: 2.0.27-1~wheezy
To get the appropriate package for your distribution, remove the current version of the CLI (apt-get remove azure-cli) and follow the steps on our install page.
We recently updated the install page to add this step (AZ_REPO=$(lsb_release -cs)) which will get the correct package for your distro.
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt
Once done, this is what you should see:
# dpkg -s azure-cli
Package: azure-cli
Status: install ok installed
Priority: extra
Section: python
Installed-Size: 284525
Maintainer: Azure Python CLI Team <[email protected]>
Architecture: all
Version: 2.0.27-1~xenial
The extension installs fine after that.
from azure-cli-extensions.
Ahhh ha! Yes this was the problem I had. Reinstalling the CLI with the "AZ_REPO=$(lsb_release -cs)" stuff fixed it and I'm now on the xenial version.
Aren't a lot of people that have installed the CLI on WSL longer than 2-3 weeks ago, going to hit this issue? (and others presumably!) by being locked into the wrong branch in their apt sources?
from azure-cli-extensions.
Yes potentially. The install page is up-to-date though so following those instructions would resolve this.
We needed to create more .deb packages due to Azure/azure-cli#3720 where users could not even run az login
on some distros and we weren't supporting the latest versions of Ubuntu and Debian.
from azure-cli-extensions.
Related Issues (20)
- [az fleet] get-credentials command fails with error with empty kubeconfig HOT 2
- az postgres flexible-server execute.. no longer works HOT 8
- [FR] Bastion tunnel inactivity timeout HOT 3
- Network Manager create/update does not support multiple subs/mgs HOT 1
- [Monitor Control Service] Upgrade to latest API version (2023-03-11) + Fix current gaps HOT 2
- az dataprotection backup-instance create - (UserErrorNoContainersSelectedForOperation) No containers selected for operation HOT 4
- az ml extension shows as installed using official documentation but not working HOT 5
- Compute instance is not getting stopped even after configuring the 'Idle Shutdown Time' HOT 2
- az logic workflow create/update removes existing parameters HOT 1
- Container Apps are always created in the wrong region (az containerapp compose create) HOT 2
- Environment vars aren't applied correctly to some containers as stated in docker-compose file HOT 6
- Azure ML extension throws warnings even after muting the warnings by only_show_errors HOT 6
- [connectedk8s] Escaping newlines in python strings produces weird spaces in cli error messages HOT 2
- 'ServicePrincipalCredential' is not defined in 1.7.1 connectedk8s HOT 2
- Help please still not super thrilled with the lack of parity to the AZD and portal experiences. Neither of those even allow the customer to name the aspire dashboard dotnet component. HOT 1
- BMSUserErrorInvalidInput in az dataprotection backup-instance adhoc-backup for Kubernetes Service HOT 1
- [az containerapp compose create] Docker Compose seems like not understand special variable: $AZURE_CONTAINERAPPS_ENV_DEFAULT_DOMAIN HOT 3
- Support --allow-insecure option in az containerapp compose create command HOT 4
- [az containerapp compose create] Support to enable Managed Identities for accessing to Azure App Configuration HOT 2
- [ az ml online-endpoint create ] can not create an Endpoint with a previously used name. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cli-extensions.