Skip to content
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

Azure CLI fails to install on jammy - no package found? #22161

Closed
joshuafernandes opened this issue Apr 22, 2022 · 5 comments
Closed

Azure CLI fails to install on jammy - no package found? #22161

joshuafernandes opened this issue Apr 22, 2022 · 5 comments
Assignees
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Installation
Milestone

Comments

@joshuafernandes
Copy link

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When attempting to install azure cli from the instructions here: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command
Running curl -sL https://aka.ms/InstallAzureCLIDeb | bash results in no package is found

curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Get:1 http://au.archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Hit:2 http://au.archive.ubuntu.com/ubuntu jammy-updates InRelease                                            
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease                                                
Hit:4 http://packages.microsoft.com/repos/code stable InRelease                                              
Hit:5 https://packages.microsoft.com/repos/azure-cli impish InRelease                                        
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Fetched 270 kB in 1s (208 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.81.0-1).
gnupg is already the newest version (2.2.27-3ubuntu2).
lsb-release is already the newest version (11.1.0ubuntu4).
apt-transport-https is already the newest version (2.4.5).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Get:1 http://au.archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Hit:2 http://au.archive.ubuntu.com/ubuntu jammy-updates InRelease                                            
Hit:3 http://packages.microsoft.com/repos/code stable InRelease                                              
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                
Get:5 https://packages.microsoft.com/repos/azure-cli jammy InRelease [5,812 B]                               
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Fetched 276 kB in 1s (311 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package azure-cli

To Reproduce

  1. Clean install of Ubuntu 22.04 LTS (Jammy)
  2. curl -sL https://aka.ms/InstallAzureCLIDeb | bash

Expected behavior
There is a package available to install and we can actually use azure cli again (22.04 is an LTS OS as well so this is really not great)

Environment summary
Single line command as per the docs https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command

Additional context
Downgrading to impish in the sources finds a package but is not installable and throws the error below

The following packages have unmet dependencies:
 azure-cli : Depends: libssl1.1 (>= 1.1.1) but it is not installable
@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Installation labels Apr 22, 2022
@ghost ghost assigned jiasli Apr 22, 2022
@ghost ghost added this to the Backlog milestone Apr 22, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Apr 23, 2022

@jiasli for awareness

@GabrielJean
Copy link

I'm facing the same issue, azure-cli package not found.

@jiasli
Copy link
Member

jiasli commented Apr 24, 2022

See #21532, #21948. We will release for Ubuntu Jammy on 04/26/2022.

@jiasli jiasli closed this as completed Apr 24, 2022
@joshuafernandes
Copy link
Author

Excellent, thanks for the update @jiasli

@jiasli
Copy link
Member

jiasli commented Apr 24, 2022

No problem!

By the way, the unsigned deb package is at https://azurecliprod.blob.core.windows.net/archive/20220421.27/ubuntu-jammy/azure-cli_2.36.0-1~jammy_all.deb

Before we sign it and publish it to https://packages.microsoft.com/, you may install the unsigned deb if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Installation
Projects
None yet
Development

No branches or pull requests

4 participants