Package Details: azure-cli 2.30.0-1

Git Clone URL: (read-only, click to copy)
Package Base: azure-cli
Description: Command-line tools for Azure.
Upstream URL:
Licenses: MIT
Conflicts: python-azure-cli
Submitter: pallxk
Maintainer: pallxk
Last Packager: pallxk
Votes: 28
Popularity: 0.56
First Submitted: 2019-12-30 09:10
Last Updated: 2021-11-02 16:01

Required by (3)

Sources (3)

Latest Comments

1 2 Next › Last »

mdtusz commented on 2021-11-04 20:32

Currently getting an error with many commands related to a missing package colorama. After running az with no arguments.

The command failed with an unexpected error. Here is the traceback:
No module named 'colorama'
Traceback (most recent call last):
  File "/opt/azure-cli/lib/python3.9/site-packages/knack/", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/azure-cli/lib/python3.9/site-packages/azure/cli/core/commands/", line 569, in execute
  File "/opt/azure-cli/lib/python3.9/site-packages/knack/", line 722, in show_welcome
    help_file = self.group_help_cls(self, '', parser)
  File "/opt/azure-cli/lib/python3.9/site-packages/knack/", line 253, in __init__
  File "/opt/azure-cli/lib/python3.9/site-packages/azure/cli/core/", line 306, in load
    loader.versioned_load(self, options)
  File "/opt/azure-cli/lib/python3.9/site-packages/azure/cli/core/", line 154, in versioned_load
    super(CliHelpFile, help_obj).load(parser)  # pylint:disable=bad-super-call
  File "/opt/azure-cli/lib/python3.9/site-packages/knack/", line 198, in load
    description = getattr(options, 'description', None)
  File "/opt/azure-cli/lib/python3.9/site-packages/knack/", line 241, in __getattribute__
    self.description = self._description() \
  File "/opt/azure-cli/lib/python3.9/site-packages/azure/cli/core/commands/", line 133, in description_loader
    op = self.get_op_handler(self.op_path)
  File "/opt/azure-cli/lib/python3.9/site-packages/azure/cli/core/commands/", line 59, in get_op_handler
    handler = import_module(mod_to_import)
  File "/opt/azure-cli/lib/python3.9/importlib/", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/azure-cli/lib/python3.9/site-packages/azure/cli/command_modules/find/", line 13, in <module>
    import colorama  # pylint: disable=import-error
ModuleNotFoundError: No module named 'colorama'

The error remains after installing either python-colorama or python2-colorama. Any suggestions or is this an upstream issue?

lmartinez-mirror commented on 2021-11-02 16:13

It shouldn't be generating a pkgver in the first place; that's reserved for -git packages.

cake808 commented on 2021-10-10 07:58

I'm running into version issues :/

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
 -> error making: azure-cli

armadillo commented on 2021-04-14 07:27

Thank you @pallxk @djjlewis

pallxk commented on 2021-04-14 00:13

@armadillo, @djjlewis, I've just updated the sha256sum of in PKGBUILD. The file is indeed updated upstream. Check the history of at

djjlewis commented on 2021-04-13 14:20

@armadillo looks like the sha for is incorrect in PKGBUILD. If you're feeling brave you can compute the sha yourself on the local file using sha256sum and update the first entry in the sha256sums variable in PKGBUILD (line 16) then run makepkg -si to install manually.

armadillo commented on 2021-04-13 13:28

Currently getting a validation error for 2.22.0-1 as follows: -

==> Making package: azure-cli 2.22.0-1 (Tue 13 Apr 2021 14:26:23 BST)
==> Retrieving sources...
-> Found
-> Found install.response
-> Found az
==> Validating source files with sha256sums... ... FAILED
install.response ... Passed
az ... Passed
==> ERROR: One or more files did not pass the validity check!
:: Packages failed to build: azure-cli-2.22.0-1

acascais commented on 2021-01-25 09:42


edit: restarting the router solved the problem :|

I'm trying to upgrade the azure-cli and I also had the problem with Python. I did what djjlewis recommended (uninstall, remove folders and installed again) but I see the installer stuck:

-- Downloading virtualenv package from

I tried to curl this endpoint and I get a "moved permanently":

$ curl
<html><head><title>301 Moved Permanently</title></head><body><center><h1>301 Moved Permanently</h1></center></body></html>

Is it possible that the installer is not following the redirection correctly?

djjlewis commented on 2020-12-04 15:52

To fix the error while loading shared libraries: cannot open shared object file: No such file or directory issue below, I removed the package, deleted the cache and re-installed e.g

$ yay -Rns azure-cli
$ rm -rf ~/.cache/yay/azure-cli
$ yay -S azure-cli

felipebalbi commented on 2020-12-04 08:56

After an upgrade today, python switched to 3.9 and azure-cli doesn't work anymore:

$ az help
/opt/azure-cli/bin/python: error while loading shared libraries: cannot open shared object file: No such file or directory