azure-cli: Installation fails on Debian bookworm due to outdated dependencies
Related command
$ curl -sL https://aka.ms/InstallAzureCLIDeb | docker run --rm -i debian:bookworm bash -
Describe the bug The azure-cli package provided for Debian bookworm depends on the packages libffi7 and libssl1.1, which are not available:
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
To Reproduce
Running the documented installation command curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
on a Debian bookworm installation causes the installation failure. Easily reproducable by using the debian:bookworm
docker image (see related command above).
Expected behavior Expected the installation to succeed without error on Debian bookworm.
Environment summary
Installation method: apt-get (via the installation script, see above)
OS version: Debian bookworm (testing), specifically tested on docker image debian:bookworm-20230227
(see above)
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 10
- Comments: 17 (10 by maintainers)
I’m working on this. I hope I can release it within in next two releases.
Azure CLI 2.50 is released in Debian 12, enjoy.
@williamscs I’ll comment here once it’s released.
The package is built but the API of releasing Linux packages is changed. I need some time to migrate to new API to release it.
Debian 12 (bookworm) is now out.
Understood, thanks for the heads up.
I guess our expectation originated from the fact that you’re providing a package for this unsupported distribution release in https://packages.microsoft.com/repos/azure-cli/dists/bookworm/. Might want to avoid that in the future.
Anyways, I guess we’ll migrate our provisioning to manual installation via pip.
yeah it is! I spent the weekend wiping my main and installing fresh version! 😄
@bebound how long do you think it will take for you all to now support this on Debian again?