Skip to content

azure-cli fails to install on CentOS 8 #10838

Description

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

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

[root@6e5b7a6907ed /]# yum install azure-cli
Failed to set locale, defaulting to C
CentOS-8 - AppStream                                                               2.4 MB/s | 6.0 MB     00:02
CentOS-8 - Base                                                                    1.2 MB/s | 7.9 MB     00:06
CentOS-8 - Extras                                                                  639  B/s | 2.1 kB     00:03
Azure CLI                                                                          4.3 MB/s |  11 MB     00:02
Last metadata expiration check: 0:00:01 ago on Mon Oct 14 17:14:55 2019.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides python needed by azure-cli-2.0.74-1.el7.x86_64
  - nothing provides python-virtualenv needed by azure-cli-2.0.74-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root@6e5b7a6907ed /]# yum whatprovides python
Failed to set locale, defaulting to C
Last metadata expiration check: 0:01:04 ago on Mon Oct 14 17:14:55 2019.
Error: No Matches found
[root@6e5b7a6907ed /]# yum whatprovides python3
Failed to set locale, defaulting to C
Last metadata expiration check: 0:01:18 ago on Mon Oct 14 17:14:55 2019.
python36-3.6.8-2.module_el8.0.0+33+0a10c0e1.x86_64 : Interpreter of the Python programming language
Repo        : AppStream
Matched from:
Provide    : python3 = 3.6.8-2.module_el8.0.0+33+0a10c0e1

Expected behavior
azure-cli will be successfully installed in a CentOS 8x container.

Environment summary
Followed the instructions on https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-yum?view=azure-cli-latest and installed azure-cli with yum.

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions