Open paolosalvatori opened 10 months ago
Hi @paolosalvatori,
2.55.0 is not the latest Azure CLI(2.56.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Hi @paolosalvatori,
2.55.0 is not the latest Azure CLI(2.56.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
The bot is not very smart: upgrading to 2.56.0 is just what I'm trying to do, but the process remains stuck 😄
I can't find https://packages.microsoft.com/repos/azure-cli/
in your log.
Did you follow this doc to install CLI? https://review.learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?branch=live&pivots=apt
Hi @bebound, yes, I originally installed Azure CLI on WSL with the following command:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
The upgrade process automatically kicked in when I tried to run a command yesterday. I also tried to explicitly run az upgrade
command, but as I said, the process remained stuck. Now, I re-ran the full installation process from scratch: using:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
There is and there was something broken in the installation in my opinion.
What's the output of ls /etc/apt/sources.list.d/
?
What's the output of
ls /etc/apt/sources.list.d/
?
azure-cli.list git-core-ubuntu-ppa-focal.list.save
azure-cli.list.distUpgrade hashicorp.list
azure-cli.list.save hashicorp.list.distUpgrade
deadsnakes-ubuntu-ppa-focal.list hashicorp.list.save
deadsnakes-ubuntu-ppa-focal.list.distUpgrade microsoft-prod.list
deadsnakes-ubuntu-ppa-jammy.list microsoft-prod.list.distUpgrade
docker.list microsoft-prod.list.save
docker.list.distUpgrade nodesource.list
docker.list.save nodesource.list.distUpgrade
dotnetdev.list nodesource.list.save
dotnetdev.list.distUpgrade wslutilities-ubuntu-wslu-focal.list
dotnetdev.list.save wslutilities-ubuntu-wslu-focal.list.distUpgrade
git-core-ubuntu-ppa-focal.list wslutilities-ubuntu-wslu-focal.list.save
git-core-ubuntu-ppa-focal.list.distUpgrade
What's the output of cat /etc/apt/sources.list.d/azure-cli.list
and apt update
?
What's the output of
cat /etc/apt/sources.list.d/azure-cli.list
andapt update
?
deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ jammy main
and
Get:1 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]
Get:2 https://apt.releases.hashicorp.com focal InRelease [16.4 kB]
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:5 https://apt.releases.hashicorp.com focal/main amd64 Packages [113 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:7 https://deb.nodesource.com/node_16.x focal InRelease
Hit:8 https://packages.microsoft.com/repos/azure-cli jammy InRelease
Hit:9 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Get:10 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [34.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1067 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1282 kB]
Get:14 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [202 kB]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1260 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [206 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [832 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [158 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [262 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.1 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1280 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [209 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1032 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [231 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [42.1 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [41.7 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [24.2 kB]
Fetched 8726 kB in 3s (3105 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
60 packages can be upgraded. Run 'apt list --upgradable' to see them.
Hit:8 https://packages.microsoft.com/repos/azure-cli jammy InRelease
is in the log.
I guess it works now ?
Describe the bug
When I run
az upgrade
onWSL\Bash
on myWindows 11
workstation, the command starts as excepted, but then it stops.If I click
RETURN
, the process restarts but gets stops right after:Related command
az upgrade
Errors
No errors
Issue script & Debug output
az upgrade
Expected behavior
The upgrade process should complete successfully,
Environment Summary
Additional context
No response