Hey there
I doubt my problem is purely pulp related, but maybe somebody has an idea.
Problem:
I am trying to install pulp as a part of Ansible Private Automation Hub 2.1.
However the installation fails at
TASK [pulp.pulp_installer.pulp_common : Install Pulp plugins via dnf packages] ***
e[0;32mok: [ansibletowerhub.testdmz.atix] => (item={'key': 'pulp-container', 'value': {}}) => {"__pulp_common_package": {"key": "pulp-container", "value": {}}, "ansible_loop_var": "__pulp_common_package", "changed": false, "msg": "Nothing to do", "rc": 0, "results": []}e[0m
e[0;31mfailed: [ansibletowerhub.testdmz.atix] (item={'key': 'pulp-ansible', 'value': {}}) => {"__pulp_common_package": {"key": "pulp-ansible", "value": {}}, "ansible_loop_var": "__pulp_common_package", "changed": false, "failures": [], "msg": "Unknown Error occurred: Transaction test error:\n file /usr/bin/distro from install of python38-distro-1.6.0-1.el8pc.noarch conflicts with file from package python3-distro-1.4.0-2.module+el8.1.0+3334+5cb623d7.noarch\n", "rc": 1, "results": []}e[0m
e[0;31mfailed: [ansibletowerhub.testdmz.atix] (item={'key': 'galaxy-ng', 'value': {'collectstatic': False, 'version': '4.4.0'}}) => {"__pulp_common_package": {"key": "galaxy-ng", "value": {"collectstatic": false, "version": "4.4.0"}}, "ansible_loop_var": "__pulp_common_package", "changed": false, "failures": [], "msg": "Unknown Error occurred: Transaction test error:\n file /usr/bin/distro from install of python38-distro-1.6.0-1.el8pc.noarch conflicts with file from package python3-distro-1.4.0-2.module+el8.1.0+3334+5cb623d7.noarch\n", "rc": 1, "results": []}e[0m
The error can be reproduced by trying to install python38-distro manually
# sudo dnf install python38-distro
Error: Transaction test error:
file /usr/bin/distro from install of python38-distro-1.6.0-1.el8pc.noarch conflicts with file from package python3-distro-1.4.0-2.module+el8.1.0+3334+5cb623d7.noarch
Pulpcore version:
Pulp plugins installed and their versions:
Operating system - distribution and version:
Rhel - 8.5
The error seems similar to the one found here: