-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
Describe the bug
I cannot upgrade 2.68.0 to 2.76.0
OS: Linux
Distro : Fedora 42
Kernel: 6.15.9-201.fc42.x86_64
Related command
sudo az upgrade
Errors
cli.azure.cli.command_modules.util.custom: CLI upgrade failed or aborted.
Issue script & Debug output
sudo az upgrade --debug
cli.knack.cli: Command arguments: ['upgrade', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f583d645760>, <function OutputProducer.on_global_arguments at 0x7f583d3c5440>, <function CLIQuery.on_global_arguments at 0x7f583d3ef560>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'upgrade': ['azure.cli.command_modules.util']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: util 0.003 3 7
cli.azure.cli.core: Total (1) 0.003 3 7
cli.azure.cli.core: Loaded 3 groups, 7 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : upgrade
cli.azure.cli.core: Command table: upgrade
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f583c4b0040>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2025-08-18.22-37-46.upgrade.247353.log'.
az_command_data_logger: command args: upgrade --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f583c501da0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f583c5280e0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f583c528220>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x7f583c5282c0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f583d3c54e0>, <function CLIQuery.handle_query_parameter at 0x7f583d3ef600>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f583c528180>]
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
urllib3.connectionpool: Starting new HTTPS connection (1): raw.githubusercontent.com:443
urllib3.connectionpool: https://raw.githubusercontent.com:443 "GET /Azure/azure-cli/main/src/azure-cli/setup.py HTTP/1.1" 200 2549
cli.azure.cli.command_modules.util.custom: Your current Azure CLI version is 2.68.0. Latest version available is 2.76.0.
cli.azure.cli.command_modules.util.custom: Please check the release notes first: https://learn.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue? (Y/n): y
cli.azure.cli.command_modules.util.custom: Update azure cli with 'yum update -y azure-cli'
Updating and loading repositories:
Repositories loaded.
Nothing to do.
cli.azure.cli.command_modules.util.custom: CLI upgrade failed or aborted.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f583c4b02c0>]
az_command_data_logger: exit code: 1
cli.azure.cli.__main__: Command ran in 4.747 seconds (init: 0.187, invoke: 4.560)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3636 in cache file under /root/.azure/telemetry/20250818223750932
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/usr/bin/python3 /usr/lib/python3.13/site-packages/azure/cli/telemetry/__init__.py /root/.azure /root/.azure/telemetry/20250818223750932"
telemetry.process: Return from creating process 247373
telemetry.main: Finish creating telemetry upload process.
Expected behavior
install version 2.76.0
Environment Summary
az --version
azure-cli 2.68.0 *
core 2.68.0 *
telemetry 1.1.0
Dependencies:
msal 1.32.3
azure-mgmt-resource 23.1.1
Python location '/usr/bin/python3'
Extensions directory '/home/yusuf/.azure/cliextensions'
Python (Linux) 3.13.6 (main, Aug 7 2025, 00:00:00) [GCC 15.2.1 20250808 (Red Hat 15.2.1-1)]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
Additional context
No response
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that