Azure / azure-cli

Azure Command-Line Interface
MIT License
3.95k stars 2.93k forks source link

Ubuntu Lunar? #28246

Open roy-work opened 7 months ago

roy-work commented 7 months ago

Describe the bug

I believe I've followed the Ubuntu install instructions, however, when attempting to apt-get update, it fails to update the Azure CLI repo.

I also don't see lunar in the list of dists: https://packages.microsoft.com/repos/azure-cli/dists/

Related command

apt-get update

Errors

E: The repository 'https://packages.microsoft.com/repos/azure-cli lunar Release' does not have a Release file.

Issue script & Debug output

apt-get update

Expected behavior

It updates apt with the various package metadata.

Environment Summary

Ubuntu Lunar

Additional context

The content of /etc/apt/sources.list.d/azure-cli.list:

deb [arch=amd64 signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ lunar main
yonzhan commented 7 months ago

Thank you for opening this issue, we will look into it.

bebound commented 7 months ago

Only LTS versions are supported in Ubuntu. PS: You can install the Jammy's package in Lunar.

konstruktoid commented 7 months ago

See https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#no-package-for-your-distribution

roy-work commented 5 months ago

That documentation apparently hijacks the scroll; the anchor corresponding to the target isn't in view when one opens the link.

Nonetheless, I see; I'll have to give that a try.