I agree that adding a dependency and pulling in python2 from the kernel seems very wrong.
Per https://www.python.org/dev/peps/pep-0394/#recommendation I think the right header would be #!/usr/bin/env python3 That would be a (trivial) upstream change to the kernel as code is held there. Unless it is still important to keep it also py2 executable - is it? Per last commits on that file Stefan Raspl <stefan.ra...@de.ibm.com> should be best to decide where the upstream code should go to. Even if it is py2 it should use the "env" sheband btw, see above pep link. -- 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