Skip to content

Unable to install azure cli in ostree environment #30683

@frzifus

Description

@frzifus

Describe the bug

I followed the official installation guide. Installing azure cli similar to other packages:

Image

After a reboot, I can see the package got installed:

$ rpm -qa | grep -i "microsoft"
packages-microsoft-prod-1.0-1.noarch

Related command

Afterwards I am unable to find the cli script.

╭─     ~                                                                                                                                                                                               09:56:46
╰─❯ which az                                                                                                                            
/usr/bin/which: no az in (...)
╭─     ~                                                                                                                                                                                       ✘ 0|1   09:56:50
╰─❯ az       
zsh: command not found: az
╭─     ~                                                                                                                                                                                               09:56:56
╰─❯ ls /usr/bin/ | grep az
╭─     ~                                                                                                                                                                                       ✘ 0|1   09:56:59
╰─❯ 

Errors

None

Issue script & Debug output

The Installation seems to be successful.

Image

Expected behavior

Azure cli appears in filesystem.

Environment Summary

Installation failed.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-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

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions