Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20 fails as it does not have a libvirt-bin package #80

Open
cmccrorie opened this issue Oct 19, 2021 · 1 comment
Open

Ubuntu 20 fails as it does not have a libvirt-bin package #80

cmccrorie opened this issue Oct 19, 2021 · 1 comment

Comments

@cmccrorie
Copy link

Whereas Ubuntu 18 did have a libvirt-bin package, Ubuntu 20 does not. When running the following on Ubuntu 20:

class { '::libvirt':
  virtinst           => true,
  defaultnetwork     => true
}

We get errors like:

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libvirt-bin' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package libvirt-bin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libvirt-bin' has no installation candidate
Error: /Stage[main]/Libvirt/Package[libvirt]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install libvirt-bin' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Package libvirt-bin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libvirt-bin' has no installation candidate
Notice: /Stage[main]/Libvirt/File[/etc/libvirt/libvirtd.conf]: Dependency Package[libvirt] has failures: true
Warning: /Stage[main]/Libvirt/File[/etc/libvirt/libvirtd.conf]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/File[/etc/libvirt/qemu.conf]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/File[/etc/sasl2/libvirt.conf]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/Service[libvirtd]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/Libvirt::Network[default]/Exec[create-/etc/libvirt/qemu/networks/default.xml]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/Libvirt::Network[default]/Exec[virsh-net-define-default]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/Libvirt::Network[default]/Exec[virsh-net-autostart-default]: Skipping because of failed dependencies
Warning: /Stage[main]/Libvirt/Libvirt::Network[default]/Exec[virsh-net-start-default]: Skipping because of failed dependencies

Is there a fix or workaround that we can use for Ubuntu 20 please?

Thanks.

@nod0n
Copy link

nod0n commented Apr 27, 2023

The packages that need to be installed are qemu-kvm libvirt-daemon-system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants