Skip to content

role fails on debian: no available installation candidate for qemu-kvm #68

Open
@DO1JLR

Description

@DO1JLR

Hi there.

Thank you for this Ansible role. Unfortunately this role throws the following error for me on Debian GNU/Linux 11 (bullseye):

TASK [libvirtd : Ensure libvirt packages are installed] ************************************************
FAILED - RETRYING: [example.com]: Ensure libvirt packages are installed (3 retries left).
FAILED - RETRYING: [example.com]: Ensure libvirt packages are installed (2 retries left).
FAILED - RETRYING: [example.com]: Ensure libvirt packages are installed (1 retries left).
fatal: [example.com]: FAILED! => changed=false 
  attempts: 3
  cache_update_time: 1669112189
  cache_updated: false
  msg: no available installation candidate for qemu-kvm

If I adjust the libvirt_host_libvirt_packages_common: variable under vars/Debian.yml and install the package qemu-system-x86 instead of the Debian package qemu-kvm, the role runs through without complaining.

You certainly know this, but the qemu-kvm package is a "virtual package". See packages.debian.org/bullseye/qemu-kvm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions