Open aheld opened 3 years ago
@jiasli for awareness
The apt-get
log provided doesn't contain
Get:1 https://packages.microsoft.com/repos/azure-cli focal InRelease [10.4 kB]
On Azure DevOps agent, Azure CLI is not installed following official installation method, so https://packages.microsoft.com/repos/azure-cli Linux Repo is not added to apt
's source list /etc/apt/sources.list.d/azure-cli.list
and az upgrade
doesn't work in Azure DevOps agent.
You may either
But indeed, az upgrade
should either
Besides, the topic of using failOnStderr
is tracked by https://github.com/Azure/azure-cli/issues/18372.
Describe the bug
az cli
on the default build server is outdated and cannot be upgraded. The version in the build agent has a know bug that blocks deploymentsTo Reproduce Run a pipeline on the default Azure DevOps build server
Expected behavior the az upgrade succeeds
Environment summary
Upgrade Results