Cannot install libvirt and virt-manager is not running
See original GitHub issuePrerequisites
Please answer the following questions for yourself before submitting an issue.
- I checked to make sure that this issue has not already been filed
- I’m reporting the issue to the correct repository (for multi-repository projects)
Expected Behavior
After running sudo ./kvm-qemu.sh all <username>
I will be able to run virt-manager and interact with that.
Current Behavior
I updated and upgraded newly installed Ubuntu 20.04. I want to use kvm for cape sandbox so I needed to use kvm-qemu.sh. After running it and rebooting and running virt-manager I get:
Traceback (most recent call last):
File "/usr/bin/virt-manager", line 6, in <module>
from virtManager import virtmanager
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 16, in <module>
gi.require_version('LibvirtGLib', '1.0')
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace LibvirtGLib not available
During installation of only libvirt (sudo ./kvm-qemu.sh libvirt <username>
) at the end I get this - https://pastebin.pl/view/246c228a. Exactly the same if I try to install sudo pip3 install libvirt-python
.
I tried to investigate what could be the cause.
- I found I should try to install libvirt-dev, but there is unmet dependencies (libvirt0)
- libvirt0 has no installation candidate
- I found couple more dependencies but package manager has still problem with libvirt0 or they are just not present…
I run this script few weeks ago and I was successful. I will try to search for the solution. Do you have some tip? Thank You.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
./kvm-qemu.sh all <username>
on fully updated Ubuntu 20.04- reboot as suggested at the end of script log
- try to run
virt-manager
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Question | Answer |
---|---|
OS version | Ubuntu 20.04 |
Software version | QEMU 5.1 |
Issue Analytics
- State:
- Created 3 years ago
- Comments:26 (14 by maintainers)
ok thanks, i will add check for that
you are welcome, let me know if you will get any other issue, and btw there is
--issues
for known possible problems, just in case if that save you some time