Install of python38-distro-1.6.0-1.el8.noarch conflicts with file from package python3-distro-1.4.0-2.module+el8.3.0+120+426d8baf.noarch

I’ve been trying to setup a standalone IPA smart proxy for about the past week now with no success, with issues ranging from SSL related problems to python, to rpm installations … if anyone cares to look at the original issue I’ve been trying to resolve you can find it here: Foreman 3.1.0-rc2 self signed error when setting up smart proxy - #6 by formooz

I’ve decided to drop down to very basic installations of a smart proxy, where it’s basically doing nothing but starting as a foreman content proxy and I’m getting the below errors… Can anyone assist me with setting this up? I’m not really sure where else to turn at this point…

OS: RockyLinux 8.5
Foreman 3.1.0

foreman-installer --scenario foreman-proxy-content --certs-tar-file “/home/user/ipa-certs.tar” --foreman-proxy-register-in-foreman “true” --foreman-proxy-foreman-base-url “https://foreman.example.com” --foreman-proxy-trusted-hosts “foreman.example.com” --foreman-proxy-trusted-hosts “ipa.example.com” --foreman-proxy-oauth-consumer-key “…” --foreman-proxy-oauth-consumer-secret “…”
2021-12-20 20:31:38 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-12-20 20:31:46 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-12-20 20:31:46 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-12-20 20:31:54 [NOTICE] [configure] Starting system configuration.
2021-12-20 20:32:46 [NOTICE] [configure] 250 configuration steps out of 1210 steps complete.
2021-12-20 20:32:53 [NOTICE] [configure] 500 configuration steps out of 1215 steps complete.
2021-12-20 20:32:58 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)’ returned 1: Error: Transaction test error:
2021-12-20 20:32:58 [ERROR ] [configure] file /usr/bin/distro from install of python38-distro-1.6.0-1.el8.noarch conflicts with file from package python3-distro-1.4.0-2.module+el8.3.0+120+426d8baf.noarch
2021-12-20 20:32:58 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Ansible/Pulpcore::Plugin[ansible]/Package[pulpcore-plugin(ansible)]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)’ returned 1: Error: Transaction test error:
2021-12-20 20:32:58 [ERROR ] [configure] file /usr/bin/distro from install of python38-distro-1.6.0-1.el8.noarch conflicts with file from package python3-distro-1.4.0-2.module+el8.3.0+120+426d8baf.noarch
2021-12-20 20:33:00 [NOTICE] [configure] 750 configuration steps out of 1215 steps complete.
2021-12-20 20:33:02 [NOTICE] [configure] 1000 configuration steps out of 1225 steps complete.
2021-12-20 20:33:04 [NOTICE] [configure] System configuration has finished.

@formooz did you manage to solve this?
I think I am having a very similar error on RHEL 8.5 while installing purely Pulp.

1 Like

this should help: don't include distro binary to avoid conflicts with base os by evgeni · Pull Request #374 · theforeman/pulpcore-packaging · GitHub

2 Likes