From 12989f069634a28c4c1da6100dc732c33aefb74d Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Jul 17 2023 08:09:47 +0000 Subject: Attempt to fix issue related to dnf5 by installing python3-dnf https://pagure.io/releng/issue/11541 --- diff --git a/playbooks/rpm/rpm-install-test.yaml b/playbooks/rpm/rpm-install-test.yaml index 4a83296..018d246 100644 --- a/playbooks/rpm/rpm-install-test.yaml +++ b/playbooks/rpm/rpm-install-test.yaml @@ -11,3 +11,9 @@ path: /etc/dnf/dnf.conf insertafter: '^\[main\]' line: "ip_resolve=4" + # https://pagure.io/releng/issue/11541 + # https://pagure.io/fedora-ci/general/issue/416 + - name: Install python3-dnf for rawhide only + become: true + command: dnf install -y python3-dnf + when: zuul.branch == "rawhide" or zuul.branch == "main"