Skip to content

From Fedora 41 there is DNF5 (version 5) instead of default DNF #258

Description

@sobi3ch

(..) Fedora Linux 41 is the first release to switch to DNF5 for a faster and more enhanced package management experience. (..)

source: https://9to5linux.com/fedora-linux-41-released-with-linux-kernel-6-11-dnf5-gnome-47-and-more#:~:text=47%2C%20and%20More-,Fedora%20Linux%2041%20Released%20with%20Linux%20Kernel%206.11%2C%20DNF5%2C%20GNOME,more%20enhanced%20package%20management%20experience.

This cause an error during detection of supported package manager (Assert supported distribution).

Temporary solution to this issue is to put

    vars:
      ansible_pkg_mgr: dnf

..in your main ansible yaml config.

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