Public bug reported:
In Ubuntu 24.04, the package 'libvirt-daemon-system' is missing as a
required dependency for 'gnome-boxes'.
When installing 'gnome-boxes', the application works correctly at first.
However, if the user removes the following configuration and cache
directories and then restarts the system:
rm -rf "$HOME/.cache/libvirt/"
rm -rf "$HOME/.config/libvirt/"
rm -rf "$HOME/.cache/gnome-boxes/"
rm -rf "$HOME/.config/gnome-boxes/"
rm -rf "$HOME/.local/share/gnome-boxes/"
After rebooting and opening GNOME Boxes, when trying to add an ISO image, the
following error appears: No KVM!
This issue occurs because 'libvirt-daemon-system` is not installed
automatically as part of the 'gnome-boxes' dependency chain. Installing
it manually fixes the problem:
sudo apt install libvirt-daemon-system
Expected behavior:
'gnome-boxes' should work out-of-the-box, even after user configuration
directories are removed, without requiring manual installation of
'libvirt-daemon-system'.
Actual behavior:
After removing the user's GNOME Boxes and libvirt directories and rebooting,
the app fails to detect KVM until 'libvirt-daemon-system' is manually installed.
Steps to reproduce:
1. Install gnome-boxes on Ubuntu 24.04
2. Run the following commands:
rm -rf ~/.cache/libvirt/ ~/.config/libvirt/ \
~/.cache/gnome-boxes/ ~/.config/gnome-boxes/ \
~/.local/share/gnome-boxes/
3. Reboot the system
4. Open GNOME Boxes and try to add an ISO image
5. Observe the error message: "No KVM!"
Workaround:
Install the missing package manually:
sudo apt install libvirt-daemon-system
Proposed solution:
Add 'libvirt-daemon-system' as a dependency for 'gnome-boxes' to ensure proper
functionality after configuration resets.
System details:
- Ubuntu 24.04 (Noble Numbat)
- Architecture: amd64
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-boxes 46.0-1build1
ProcVersionSignature: User Name 6.14.0-33.33~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-33-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 16 17:13:33 2025
InstallationDate: Installed on 2025-10-16 (0 days ago)
InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64
(20250805.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: gnome-boxes
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: gnome-boxes (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2128666
Title:
Missing dependency: 'libvirt-daemon-system' not installed with 'gnome-
boxes' on Ubuntu 24.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/2128666/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs