Apart from that, built the package manually and installed it on a 20.04.1 VM and it works fine, the original bug is solved:
ubuntu@ubuntu:/tmp$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal ubuntu@ubuntu:/tmp$ apt-cache policy azure-cli azure-cli: Installed: 2.0.81+ds-4ubuntu0.1 Candidate: 2.0.81+ds-4ubuntu0.1 Version table: *** 2.0.81+ds-4ubuntu0.1 100 100 /var/lib/dpkg/status 2.0.81+ds-4 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages ubuntu@ubuntu:/tmp$ az vm list | head -n 3 [ { "additionalCapabilities": null, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1897586 Title: azure-cli: global import of antlr4 for optional sub-feature To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/azure-cli/+bug/1897586/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs