Skip to content

Azure Linux installation fails #29734

@cpressland

Description

@cpressland

Describe the bug

When attempting to package up Azure-CLI within an Azure Linux 3.0 Container, the installation fails.

Related command

FROM mcr.microsoft.com/azurelinux/base/core:3.0
RUN tdnf install azure-cli -y

Errors

4.871 azure-cli package not found or not installed
4.871 Error(1011) : No matching packages

Issue script & Debug output

N/A

Expected behavior

A working Azure CLI installation.

Environment Summary

N/A

Additional context

This does work when installed with Azure Linux 2.0:

FROM mcr.microsoft.com/cbl-mariner/base/core:2.0
RUN tdnf install azure-cli -y

I expect this is due to Azure Linux 3.0 using Python 3.12, which doesn't seem to be supported yet via #27673

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.PackagingSimilar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions