Sudden azure-cli installation failure with single-shot script on Ubuntu Trusty: Unable to locate package azure-cli #25393
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Installation
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
Beginning 02/07/2023 Bitbucket pipeline execution fails during attempted installation of
azure-cli
package. Error is:E: Unable to locate package azure-cli
The installation method that started failing is:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
To Reproduce
Fails with either of the installation options documented by the following methods
Option 1 (single-shot command):
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command
Option 2 (separate steps):
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-2-step-by-step-installation-instructions
Expected behavior
azure-cli
installs successfully using the single-shot command documented in Option 1Environment summary
Bitbucket pipeline execution environment which I believe is Ubuntu Trusty within Docker. Same environment that had previously worked until 02/08/2023. Additional details can be provided, if needed.
Additional context
Partial pipeline output from Option 1:
Partial output from Option 2:
The text was updated successfully, but these errors were encountered: