-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install fails on debian GNU/Linux 12 #26737
Comments
Thank you for opening this issue, we will look into it. |
I am currently also trying out the manual install process (option 2): https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-2-step-by-step-installation-instructions this was successful, so something in the automated install is blocking Current installed version through the step by step process: az --version core 2.45.0 * Extensions: Dependencies: Python location '/usr/bin/python3' Python (Linux) 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] Legal docs and information: aka.ms/AzureCliLegal You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade' |
Upgrading to latest fails though: |
Might be related. extension install also fails now on the step by step installed version of 2.45.0: az extension add --name spring --debug cli.azure.cli.core.extension.operations: Command '['/usr/bin/python3', '-m', 'pip', 'install', '--target', '/home/vscode/.azure/cliextensions/spring', '/tmp/tmphn6jlc_x/spring-1.14.0-py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 1. cli.azure.cli.core.azclierror: An error occurred. Pip failed with status code 1. Use --debug for more information. |
Tracked by #25750 |
Describe the bug
Executing:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Install fails
Related command
Installing manually https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command on a GitHub codespace.
Codespace definition: https://github.com/vermegi/Deploying-and-Running-Java-Applications-in-Azure-Spring-Apps/tree/givermei/solution3.0
azure-cli feature in codespace definition is currently commented out, since that was also failing (related issue: devcontainers/features#589). I commented out the azure-cli feature and tried manual install, with the below failure message.
Errors
Output:
Get:1 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm InRelease [3,597 B]
Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:3 http://deb.debian.org/debian bookworm InRelease [147 kB]
Get:4 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:6 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 Packages [1,847 B]
Get:7 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main all Packages [342 B]
Get:8 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
Get:9 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 Packages [8,904 kB]
Get:11 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [30.4 kB]
Fetched 9,227 kB in 2s (5,816 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.6.1).
lsb-release is already the newest version (12.0-1).
gnupg is already the newest version (2.2.40-1.1).
curl is already the newest version (7.88.1-10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Get:4 https://packages.microsoft.com/repos/azure-cli bullseye InRelease [3,587 B]
Hit:5 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm InRelease
Hit:6 https://dl.yarnpkg.com/debian stable InRelease
Get:7 https://packages.microsoft.com/repos/azure-cli bullseye/main all Packages [1,852 B]
Get:8 https://packages.microsoft.com/repos/azure-cli bullseye/main amd64 Packages [782 B]
Fetched 6,221 B in 1s (11.7 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
azure-cli : Depends: libffi7 (>= 3.3~20180313) but it is not installable
Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
Issue script & Debug output
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Get:1 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm InRelease [3,597 B]
Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:3 http://deb.debian.org/debian bookworm InRelease [147 kB]
Get:4 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:6 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 Packages [1,847 B]
Get:7 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main all Packages [342 B]
Get:8 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
Get:9 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 Packages [8,904 kB]
Get:11 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [30.4 kB]
Fetched 9,227 kB in 2s (5,816 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.6.1).
lsb-release is already the newest version (12.0-1).
gnupg is already the newest version (2.2.40-1.1).
curl is already the newest version (7.88.1-10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Get:4 https://packages.microsoft.com/repos/azure-cli bullseye InRelease [3,587 B]
Hit:5 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm InRelease
Hit:6 https://dl.yarnpkg.com/debian stable InRelease
Get:7 https://packages.microsoft.com/repos/azure-cli bullseye/main all Packages [1,852 B]
Get:8 https://packages.microsoft.com/repos/azure-cli bullseye/main amd64 Packages [782 B]
Fetched 6,221 B in 1s (11.7 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
azure-cli : Depends: libffi7 (>= 3.3~20180313) but it is not installable
Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
Expected behavior
Successful install
Environment Summary
az not installed yet. This happens on install.
/etc $ cat issue
Debian GNU/Linux 12 \n \l
Additional context
No response
The text was updated successfully, but these errors were encountered: