Comments (6)
We've updated the script at https://aka.ms/InstallAzureCLIDeb
to fix this issue.
from azure-cli.
I was able to work around the issue by completely removing the addition of the key:
- name: Install Azure CLI run: | sudo apt update && sudo apt-get install curl -y curl -sL https://aka.ms/InstallAzureCLIDeb -o installAzureCli.sh sed -i '/curl -sLS https:\/\/packages.microsoft.com\/keys\/microsoft.asc |/d' installAzureCli.sh sed -i '/gpg --dearmor -o \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh sed -i '/chmod go+r \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh sudo bash installAzureCli.sh
Thanks for the workaround, I also have had the same issue
Chris
from azure-cli.
I was able to work around the issue by completely removing the addition of the key:
- name: Install Azure CLI
run: |
sudo apt update && sudo apt-get install curl -y
curl -sL https://aka.ms/InstallAzureCLIDeb -o installAzureCli.sh
sed -i '/curl -sLS https:\/\/packages.microsoft.com\/keys\/microsoft.asc |/d' installAzureCli.sh
sed -i '/gpg --dearmor -o \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
sed -i '/chmod go+r \/etc\/apt\/keyrings\/microsoft.gpg/d' installAzureCli.sh
sudo bash installAzureCli.sh
from azure-cli.
Thank you for opening this issue, we will look into it.
from azure-cli.
This has also broken for me but i'm using VMSS in azure devops pipelines. I also found if you run this before it works
curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
from azure-cli.
I'm also running into this same issue using "ubuntu-latest" on Azure DevOps Pipelines. Really appreciate the work around.
from azure-cli.
Related Issues (20)
- Add support for refreshing the access token of an account HOT 4
- `az login` fails with "Please select the account you want to log in with" when using WAM HOT 1
- az quota update request fails with "Request Header Fields Too Large" error HOT 1
- Unable to set upgrade policy to automatic during VMSS creation HOT 1
- Add document for disabling token cache encryption HOT 3
- `list-metadata` not displaying the right information HOT 3
- az consumption usage HOT 2
- multiple account HOT 3
- Revoke-AzureADUserAllRefreshToken HOT 2
- az deployment group create error message was insufficient. HOT 4
- Contant timeout deploying windows VM's HOT 4
- az cosmosdb sql container update - set TTL to OFF HOT 1
- az vm creation fails whilst using "--patch-mode" HOT 1
- Can not create disk with ConfidentialVM_NonPersistedTPM securityType HOT 1
- Add protocol parameter to "application-gateway http-listener" and "application-gateway listener" Commands HOT 2
- az aks update fails due to ERROR: (LinkedInvalidPropertyId) Property id '' at path 'properties.addonProfiles.omsagent.config.LogAnalyticsWorkspaceResourceID' is invalid. HOT 1
- az storage account create command does not find subscription from login HOT 2
- az login for service principal with certificate is failing HOT 2
- Azure Dogfood Subscription Request HOT 2
- az webapp list delivers only 58 results HOT 2
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.