Project

General

Profile

Actions

Bug #30674

open

python3 package conflicts when installing Katello on a system with salt-minion (v3000.3 py3) installed.

Added by Jim McDonald over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I'm trying to install just Katello for package lifecycle management. I do NOT intend to manage clients otherwise as all of our systems already managed by an existing Saltstack environment. The Katello server will also need to be managed by our Salt environment (completely separate from any Foreman)

On a totally clean install of CentOS 7 it installs fine.

On a clean install of CentOS 7 plus the salt minion (v3000.3 Py3) , an attempt to install Katello results in the following errors:

[root@katello00app01]# foreman-installer --scenario katello
Failed to ensure rh-postgresql12-postgresql-server, rh-redis5-redis, foreman-selinux, katello-selinux, candlepin-selinux, pulpcore-selinux, crane-selinux are installed
Error: Execution of '/bin/yum d 0 -e 0 -y install pulpcore-selinux' returned 1: Transaction check error:
file /usr/lib64/python3.6/site-packages/yaml/__init__.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/__init__.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/parser.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/parser.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/composer.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/composer.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.
13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/constructor.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36

PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/constructor.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/cyaml.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/cyaml.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/dumper.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/dumper.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/emitter.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYA
ML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/emitter.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.1
3-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/error.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/error.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/events.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/events.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/loader.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/loader.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/nodes.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/nodes.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/reader.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/reader.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/representer.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36

PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/representer.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/resolver.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyY
AML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/resolver.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.
13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/scanner.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYA
ML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/scanner.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.1
3-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/serializer.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-P
yYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/serializer.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML

3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/tokens.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/tokens.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/composer.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/constructor.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/cyaml.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/dumper.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/emitter.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/loader.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/reader.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/representer.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/scanner.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64

Error Summary
-------------
Error: /Stage[main]/Main/Package[pulpcore-selinux]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum d 0 -e 0 -y install pulpcore-selinux' returned 1: Transacti
on check error:
file /usr/lib64/python3.6/site-packages/yaml/__init__.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyY
AML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/__init__.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.
13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/parser.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/parser.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/composer.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyY
AML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/composer.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.
13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/constructor.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-
PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/constructor.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/cyaml.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/cyaml.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/dumper.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/dumper.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/emitter.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYA
ML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/emitter.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.1
3-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/error.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/error.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/events.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/events.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/loader.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/loader.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/nodes.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/nodes.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13

1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/reader.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/reader.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/representer.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36

PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/representer.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML
3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/resolver.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyY
AML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/resolver.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.
13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/scanner.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYA
ML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/scanner.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.1
3-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/serializer.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-P
yYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/serializer.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML

3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/tokens.cpython-36.opt-1.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAM
L-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/__pycache__/tokens.cpython-36.pyc from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13
-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/composer.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/constructor.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/cyaml.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/dumper.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/emitter.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/loader.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/reader.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/representer.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
file /usr/lib64/python3.6/site-packages/yaml/scanner.py from install of python3-pyyaml-5.3.1-1.el7.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64

Actions #1

Updated by Jim McDonald over 3 years ago

I would like to add that I don't know why a lot of that output came through with strikethrough. Obviously that's not how it shows up in the console

Actions #2

Updated by JohnDavidLarsen please_edit_me over 3 years ago

Had a similar issue, try removing then reinstalling the EPEL repo ( yum -y reinstall localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ) before installing katello, there are several conflicting EPEL repos out there and the commands to install EPEL doesn't overwrite the one you may already have.

Actions

Also available in: Atom PDF