Project

General

Profile

Actions

Bug #31187

closed

Unable to install Tracer on Katello system or a host with Python 2 and 3 installed.

Added by Chris Roberts over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

“yum install katello-host-tools-tracer” get this error:

`Transaction check error:`
`file /usr/bin/futurize from install of python2-future-0.18.2-2.el7.noarch conflicts with file from package python3-future-0.18.2-2.el7.noarch`
`file /usr/bin/pasteurize from install of python2-future-0.18.2-2.el7.noarch conflicts with file from package python3-future-0.18.2-2.el7.noarch`

Info:
fresh Centos 7.8 and foreman katello installation.
katello-agent can be installed without any problems.

Expected outcome:
Installation without an error message

Foreman and Proxy versions:
latest repo version

Foreman and Proxy plugin versions:
latest repo version

Distribution and version:
CentOS v7.8.2003 (Core)
Other relevant data:

Only happens when installing tracer on the Katello box itself, or if you were to install Tracer on a system with Python 3

Normal client workflow works without an issue.

Actions #1

Updated by James Jeffers over 4 years ago

  • Target version set to Katello 3.18.0
  • Triaged changed from No to Yes
Actions #2

Updated by Jonathon Turel over 4 years ago

  • Target version changed from Katello 3.18.0 to Katello 4.0.0
Actions #3

Updated by Chris Roberts about 4 years ago

  • Target version changed from Katello 4.0.0 to Katello 4.1.0
Actions #4

Updated by Chris Roberts almost 4 years ago

  • Target version changed from Katello 4.1.0 to Katello 4.2.0
Actions #5

Updated by Gerald Vogt almost 4 years ago

The conflict between python2-future and python3-future is gone with python3-future-0.18.2-3.el7.noarch from pulpcore 3.7. python3-future-0.18.2-3.el7.noarch doesn't contain the executables in /usr/bin/ anymore which caused the conflict. With that new version I was able to install katello-host-tools-tracer-3.5.4-1.el7.noarch on my foreman/katello server.

But I guess the rpm coming from pulpcore isn't a permanent solution.

I have noticed that there is a python36-future RPM in EPEL 7 which installs the executables as /usr/bin/future-3 etc.

Actions #6

Updated by Chris Roberts over 3 years ago

  • Target version changed from Katello 4.2.0 to Katello 4.3.0
Actions #7

Updated by Chris Roberts over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Chris Roberts
Actions #8

Updated by Chris Roberts over 3 years ago

  • Status changed from Assigned to Closed
  • Target version changed from Katello 4.3.0 to Katello Recycle Bin
  • Fixed in Releases Katello 4.2.1 added

This works now with the nightly repos, so closing this out. Here are the results of my testing:

[vagrant@devel ~]$ sudo yum install katello-host-tools-tracer
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
HTTP error (503 - Service Unavailable): Service unavailable or restarting, try later
Loading mirror speeds from cached hostfile * base: centos.mirror.constant.com * centos-sclo-rh: mirror.centos.iad1.serverforge.org * epel: d2lzkl7pfhq30w.cloudfront.net * extras: mirror.cogentco.com * updates: mirror.wdc1.us.leaseweb.net
Resolving Dependencies
--> Running transaction check
---> Package katello-host-tools-tracer.noarch 0:3.5.7-1.el7 will be installed
--> Processing Dependency: katello-host-tools = 3.5.7-1.el7 for package: katello-host-tools-tracer-3.5.7-1.el7.noarch
--> Processing Dependency: python2-tracer >= 0.6.12 for package: katello-host-tools-tracer-3.5.7-1.el7.noarch
--> Running transaction check
---> Package katello-host-tools.noarch 0:3.5.7-1.el7 will be installed
--> Processing Dependency: katello-host-tools-fact-plugin = 3.5.7-1.el7 for package: katello-host-tools-3.5.7-1.el7.noarch
---> Package python2-tracer.noarch 0:0.7.8-1.el7 will be installed
--> Processing Dependency: tracer-common = 0.7.8-1.el7 for package: python2-tracer-0.7.8-1.el7.noarch
--> Processing Dependency: python-argcomplete for package: python2-tracer-0.7.8-1.el7.noarch
--> Processing Dependency: python2-distro for package: python2-tracer-0.7.8-1.el7.noarch
--> Processing Dependency: python2-future for package: python2-tracer-0.7.8-1.el7.noarch
--> Processing Dependency: python2-psutil for package: python2-tracer-0.7.8-1.el7.noarch
--> Processing Dependency: python2-six for package: python2-tracer-0.7.8-1.el7.noarch
--> Running transaction check
---> Package katello-host-tools-fact-plugin.noarch 0:3.5.7-1.el7 will be installed
---> Package python2-argcomplete.noarch 0:1.7.0-4.el7 will be installed
---> Package python2-distro.noarch 0:1.5.0-1.el7 will be installed
---> Package python2-future.noarch 0:0.18.2-2.el7 will be installed
---> Package python2-psutil.x86_64 0:5.7.2-2.el7 will be installed
---> Package python2-six.noarch 0:1.9.0-0.el7 will be installed
---> Package tracer-common.noarch 0:0.7.8-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================
Package Arch Version Repository Size =================================================================================================================================================================================================================
Installing:
katello-host-tools-tracer noarch 3.5.7-1.el7 foreman-client 18 k
Installing for dependencies:
katello-host-tools noarch 3.5.7-1.el7 foreman-client 34 k
katello-host-tools-fact-plugin noarch 3.5.7-1.el7 foreman-client 16 k
python2-argcomplete noarch 1.7.0-4.el7 epel 49 k
python2-distro noarch 1.5.0-1.el7 epel 33 k
python2-future noarch 0.18.2-2.el7 epel 806 k
python2-psutil x86_64 5.7.2-2.el7 foreman-client 420 k
python2-six noarch 1.9.0-0.el7 epel 2.9 k
python2-tracer noarch 0.7.8-1.el7 epel 119 k
tracer-common noarch 0.7.8-1.el7 epel 31 k

Transaction Summary =================================================================================================================================================================================================================
Install 1 Package (+9 Dependent packages)

Total download size: 1.5 M
Installed size: 6.8 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): katello-host-tools-fact-plugin-3.5.7-1.el7.noarch.rpm | 16 kB 00:00:00
(2/10): katello-host-tools-tracer-3.5.7-1.el7.noarch.rpm | 18 kB 00:00:00
(3/10): katello-host-tools-3.5.7-1.el7.noarch.rpm | 34 kB 00:00:00
(4/10): python2-argcomplete-1.7.0-4.el7.noarch.rpm | 49 kB 00:00:00
(5/10): python2-distro-1.5.0-1.el7.noarch.rpm | 33 kB 00:00:00
(6/10): python2-psutil-5.7.2-2.el7.x86_64.rpm | 420 kB 00:00:00
(7/10): python2-future-0.18.2-2.el7.noarch.rpm | 806 kB 00:00:00
(8/10): python2-six-1.9.0-0.el7.noarch.rpm | 2.9 kB 00:00:00
(9/10): python2-tracer-0.7.8-1.el7.noarch.rpm | 119 kB 00:00:00
(10/10): tracer-common-0.7.8-1.el7.noarch.rpm | 31 kB 00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 899 kB/s | 1.5 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : tracer-common-0.7.8-1.el7.noarch 1/10
Installing : python2-distro-1.5.0-1.el7.noarch 2/10
Installing : katello-host-tools-fact-plugin-3.5.7-1.el7.noarch 3/10
Installing : katello-host-tools-3.5.7-1.el7.noarch 4/10
Installing : python2-future-0.18.2-2.el7.noarch 5/10
Installing : python2-argcomplete-1.7.0-4.el7.noarch 6/10
Installing : python2-six-1.9.0-0.el7.noarch 7/10
Installing : python2-psutil-5.7.2-2.el7.x86_64 8/10
Installing : python2-tracer-0.7.8-1.el7.noarch 9/10
Installing : katello-host-tools-tracer-3.5.7-1.el7.noarch 10/10
Verifying : katello-host-tools-3.5.7-1.el7.noarch 1/10
Verifying : python2-psutil-5.7.2-2.el7.x86_64 2/10
Verifying : python2-tracer-0.7.8-1.el7.noarch 3/10
Verifying : python2-six-1.9.0-0.el7.noarch 4/10
Verifying : python2-argcomplete-1.7.0-4.el7.noarch 5/10
Verifying : python2-future-0.18.2-2.el7.noarch 6/10
Verifying : katello-host-tools-fact-plugin-3.5.7-1.el7.noarch 7/10
Verifying : katello-host-tools-tracer-3.5.7-1.el7.noarch 8/10
Verifying : python2-distro-1.5.0-1.el7.noarch 9/10
Verifying : tracer-common-0.7.8-1.el7.noarch 10/10

Installed:
katello-host-tools-tracer.noarch 0:3.5.7-1.el7

Dependency Installed:
katello-host-tools.noarch 0:3.5.7-1.el7 katello-host-tools-fact-plugin.noarch 0:3.5.7-1.el7 python2-argcomplete.noarch 0:1.7.0-4.el7 python2-distro.noarch 0:1.5.0-1.el7 python2-future.noarch 0:0.18.2-2.el7
python2-psutil.x86_64 0:5.7.2-2.el7 python2-six.noarch 0:1.9.0-0.el7 python2-tracer.noarch 0:0.7.8-1.el7 tracer-common.noarch 0:0.7.8-1.el7

Actions

Also available in: Atom PDF