After upgrading from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS, I can no more start Virtual Machine Manager. It was running okay when I was using Ubuntu 16.04 and I didn't face any problems but after the upgrade, everything broke. I even installed Windows 10 on it. Running it from the Applications Launcher just don't show anything. I tried running it from the terminal but I always get this error:
/usr/bin/virt-manager: 3: exec: /usr/share/virt-manager/virt-manager: not found I tried several times on the terminal but it always throw that same error message, which I don't seem to understand. I thought KVM wasn't installed but running kvm-ok gives the following message that KVM is installed and acceleration can be used:
% kvm-ok INFO: /dev/kvm exists KVM acceleration can be used Also, the Windows 10 image file still exists in /var/lib/libvirt/images, plus other directories in the images parent directory.
How can I do to make Virtual Machine Manager run again.
apt install --reinstall virt-managersudo apt install --reinstall virt-managergives: /var/lib/dpkg/info/virt-manager.prerm: 6: /var/lib/dpkg/info/virt-manager.prerm: pyclean: not found new virt-manager package pre-removal script subprocess returned error exit status 127 Errors were encountered while processing: /var/cache/apt/archives/virt-manager_1%3a1.5.1-0ubuntu1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)