A minimal Ubuntu 18.10 installation comes by default with python3 only: $ ls /usr/bin/python* /usr/bin/python3 /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3m
The 'shebang' in /usr/bin/kvm_stat points to /usr/bin/python: $ grep \#\! /usr/bin/kvm_stat #!/usr/bin/python Which is usually python version 2.x. kvm_stat should work with python 2 or 3. Since python3 is the default and because python 2 is legacy, the shebang in kvm_stat should better point to python3. As a workaround create a link or an alias or install python-minimal (which is python2): $ sudo apt install python-minimal ... and 'sudo kvm_stat' will work again. ** Changed in: ubuntu-z-systems Importance: High => Medium -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1798776 Title: kvm_stat : missing python dependency Status in Ubuntu on IBM z Systems: Triaged Status in linux package in Ubuntu: New Bug description: After installing linux-tools-host, the included kvm_stat utility won't work: root@ubuntu:~# kvm_stat -bash: /usr/bin/kvm_stat: /usr/bin/python: bad interpreter: No such file or directory Reason is that there is apparently no dependency on a python package from the linux-tools-host package. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1798776/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp