Skip to content

Azure CLI package can't be installed on Ubuntu 26.04 - no such package in repo #34000

Closed

Description

Describe the bug

Starting 2026.08.27 official way to install Azure CLI package on Ubuntu 26.04 does not work. Looks like the package has been deleted from according repo.

Related command

apt-get install --assume-yes azure-cli

Errors

E: Unable to locate package azure-cli

Issue script & Debug output

Not applicable

Expected behavior

AzureCLI is installed.

Environment Summary

Not applicable

Additional context

Failing workflow example: https://github.com/github/hosted-runners-images/actions/runs/33018048384/job/98456480266#step:3:4091

Activity

  1. added
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Aug 27, 2026
  2. yonzhan commented on Aug 27, 2026

    @yonzhan
    Collaborator

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

  3. x-engineering-agent commented on Aug 27, 2026

    @x-engineering-agent
    Contributor

    Bug Analysis

    Issue: apt-get install --assume-yes azure-cli fails on Ubuntu 26.04 (codename "resolute") with E: Unable to locate package azure-cli.

    Root cause: This is not a defect in the Azure CLI source code. The reporter's own linked evidence shows the Microsoft APT repository (https://packages.microsoft.com/repos/azure-cli/dists/resolute/main/binary-arm64/) does not yet have a resolute (Ubuntu 26.04) distribution published. Azure CLI is installed via a pre-built .deb package pulled from that hosted repository, not built/packaged from anything in this GitHub repository — there is no application code change here that would add a missing distribution channel to an external package feed.

    Why no code fix applies: The azure-cli repository does not control the publishing pipeline that populates packages.microsoft.com. Adding resolute support requires the package-release/build pipeline (owned by the release engineering team) to publish binaries for the new Ubuntu codename, which is outside the scope of a source PR here.

    Recommendation: Route to the release/packaging team responsible for the packages.microsoft.com/repos/azure-cli feed to add resolute (Ubuntu 26.04) to the list of published distributions. In the meantime, users on Ubuntu 26.04 can use the alternative install script or install via pip/pipx as a workaround.

    No Copilot code-fix task is being started for this issue since it is an external packaging/distribution gap, not a source-code bug.

  4. SonnyRR commented on Aug 27, 2026

    @SonnyRR

    The title of this issue is misleading, but I am also facing the same issue when building my custom Devcontainer image, that is based on Ubuntu 26.04. Part of the baked toolchain is az-cli, which was provisioned as expected up until today.

  5. added this to the Backlog milestone on Aug 27, 2026
  6. changed the title [-]AzCopy package is missing for Ubuntu 26.04[/-] [+]AzCopy package can't be installed on Ubuntu 26.04 - no such package in repo[/+] on Aug 28, 2026
  7. v-SergeiRadich commented on Aug 28, 2026

    @v-SergeiRadich
    Author

    Vasil Kotsev (@SonnyRR) thanks for pointing out the misleading title - I have updated it to better reflect the issue.

  8. changed the title [-]AzCopy package can't be installed on Ubuntu 26.04 - no such package in repo[/-] [+]Azure CLI package can't be installed on Ubuntu 26.04 - no such package in repo[/+] on Aug 28, 2026
  9. leemathewbrooks commented on Aug 28, 2026

    @leemathewbrooks

    This is also affecting image builds from the GitHub actions runner-images repo - tests fail at the powershell-cli install stage and builds are failing.

  10. thomas-temby commented on Aug 31, 2026

    @thomas-temby
    Contributor

    Hi Sergei Radich (@v-SergeiRadich),

    Ubuntu 26.04 is not supported for azure-cli versions 2.89.1 and earlier we are adding support in 2.90.0 which will be released tomorrow.

    Unfortunately, a change required prior to the release date resulted in the install script no-longer falling back to the version of azure cli built for Ubuntu 22.04 completely blocking the install on Ubuntu 26.04 we will do our best to prevent similar issues happening in the future.

  11. thomas-temby commented on Sep 1, 2026

    @thomas-temby
    Contributor

    With the release of az cli 2.90.0 the installation is now functional so closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teambugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions