--- Begin Message ---
Package: python3-azure-cli
Version: 2.50.0-1
Severity: grave
azure-cli with all dependencies fullfilled does not allow "az" to run:
| % az vm -h
| The command failed with an unexpected error. Here is the traceback:
| No module named 'azure.mgmt.compute.v2022_11_01'
| Traceback (most recent call last):
| File "/usr/lib/python3/dist-packages/knack/cli.py", line 233, in invoke
| cmd_result = self.invocation.execute(args)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py",
line 588, in execute
| parsed_args = self.parser.parse_args(args)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/knack/parser.py", line 261, in
parse_args
| return super().parse_args(args)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 1881, in parse_args
| args, argv = self.parse_known_args(args, namespace)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 281,
in parse_known_args
| self._namespace, self._raw_arguments =
super().parse_known_args(args=args, namespace=namespace)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 1914, in parse_known_args
| namespace, args = self._parse_known_args(args, namespace)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 2108, in _parse_known_args
| positionals_end_index = consume_positionals(start_index)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 2085, in consume_positionals
| take_action(action, args)
| File "/usr/lib/python3.11/argparse.py", line 1990, in take_action
| action(self, namespace, argument_values, option_string)
| File "/usr/lib/python3.11/argparse.py", line 1253, in __call__
| subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 281,
in parse_known_args
| self._namespace, self._raw_arguments =
super().parse_known_args(args=args, namespace=namespace)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 1914, in parse_known_args
| namespace, args = self._parse_known_args(args, namespace)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 2126, in _parse_known_args
| start_index = consume_optional(start_index)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/argparse.py", line 2066, in consume_optional
| take_action(action, args, option_string)
| File "/usr/lib/python3.11/argparse.py", line 1990, in take_action
| action(self, namespace, argument_values, option_string)
| File "/usr/lib/python3.11/argparse.py", line 1131, in __call__
| parser.print_help()
| File "/usr/lib/python3.11/argparse.py", line 2613, in print_help
| self._print_message(self.format_help(), file)
| ^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 192,
in format_help
| super(AzCliCommandParser, self).format_help()
| File "/usr/lib/python3/dist-packages/knack/parser.py", line 248, in
format_help
| self.cli_help.show_help(self.prog.split()[0],
| File "/usr/lib/python3/dist-packages/azure/cli/core/_help.py", line 165, in
show_help
| else self.group_help_cls(self, delimiters, parser)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/knack/help.py", line 253, in __init__
| child.load(options)
| File "/usr/lib/python3/dist-packages/azure/cli/core/_help.py", line 296, in
load
| loader.versioned_load(self, options)
| File "/usr/lib/python3/dist-packages/azure/cli/core/_help_loaders.py", line
154, in versioned_load
| super(CliHelpFile, help_obj).load(parser) # pylint:disable=bad-super-call
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/knack/help.py", line 198, in load
| description = getattr(options, 'description', None)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3/dist-packages/knack/parser.py", line 241, in
__getattribute__
| self.description = self._description() \
| ^^^^^^^^^^^^^^^^^^^
| File
"/usr/lib/python3/dist-packages/azure/cli/core/commands/command_operation.py",
line 133, in description_loader
| op = self.get_op_handler(self.op_path)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File
"/usr/lib/python3/dist-packages/azure/cli/core/commands/command_operation.py",
line 59, in get_op_handler
| handler = import_module(mod_to_import)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
| return _bootstrap._gcd_import(name[level:], package, level)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
| File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
| File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
| File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
| File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
| File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
| File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
| ModuleNotFoundError: No module named 'azure.mgmt.compute.v2022_11_01'
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (700, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.3.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-azure-cli depends on:
ii python3 3.11.2-1+b1
ii python3-antlr4 4.9.1-1
ii python3-azure 20230112+git-1
ii python3-azure-cli-core 2.50.0-1
ii python3-azure-cosmos 3.1.1-5
ii python3-azure-datalake-store 0.0.53-1
ii python3-azure-multiapi-storage 1.2.0-1
ii python3-chardet 5.1.0+dfsg-2
ii python3-colorama 0.4.6-2
ii python3-distro 1.8.0-1
ii python3-fabric 2.6.0-1
ii python3-github 1.55-3
ii python3-javaproperties 0.8.1-1.1
ii python3-jsondiff 2.0.0-2
ii python3-nacl 1.5.0-2
ii python3-packaging 23.1-1
ii python3-scp 0.14.4-1
ii python3-semver 2.10.2-3
ii python3-six 1.16.0-4
ii python3-sshtunnel 0.1.4-3
ii python3-urllib3 1.26.16-1
ii python3-websocket 1.2.3-1
ii python3-xmltodict 0.13.0-1
Versions of packages python3-azure-cli recommends:
pn python3-azext-devops <none>
python3-azure-cli suggests no packages.
-- no debconf information
--- End Message ---