Skip to content

Not able to upgrade automatically anymore on WSL #28787

@bplasmeijer

Description

@bplasmeijer

Describe the bug

az upgrade doesn't work anymore when installed script used on WSL.

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

Related command

az upgrade

Errors

WARNING: Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli

Issue script & Debug output

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Your current Azure CLI version is 2.58.0. Latest version available is 2.59.0.
Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue? (Y/n): Y
Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli
WARNING: New Azure CLI version available. Running 'az upgrade' to update automatically.
WARNING: This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
WARNING: Your current Azure CLI version is 2.58.0. Latest version available is 2.59.0.
WARNING: Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli

WARNING: Not able to upgrade automatically. Instructions can be found at https://aka.ms/doc/InstallAzureCli

Expected behavior

Upgrade the AZ Cli

Environment Summary

{
"azure-cli": "2.58.0",
"azure-cli-core": "2.58.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"aks-preview": "1.0.0b2",
"resource-graph": "2.1.0",
"support": "1.0.4"
}
}

Additional context

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.Upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions