Giter Site home page Giter Site logo

Comments (6)

bebound avatar bebound commented on June 21, 2024 4

We've updated the script at https://aka.ms/InstallAzureCLIDeb to fix this issue.

from azure-cli.

boobboo avatar boobboo commented on June 21, 2024 3

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.

jimmystridh avatar jimmystridh commented on June 21, 2024 1

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.

yonzhan avatar yonzhan commented on June 21, 2024

Thank you for opening this issue, we will look into it.

from azure-cli.

ajadams-T4 avatar ajadams-T4 commented on June 21, 2024

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.

taco-coder avatar taco-coder commented on June 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.