Transaction check error, yum install katello-host-tools-tracer

Problem:
“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:

2 Likes

Can confirm, same issue here… appears only on the host that has Foreman/Katello master installed. All other clients suceed.

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

CentOS Linux release 7.8.2003 (Core)
Katello 3.16

@cintrix84 : Have you seen this before?

@sajha @tnsasse

Will take a look and see what is going on. I will report back with a fix

I tested on a fresh CentOS 7.7 box and was able to install it fine:

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

Dependency Installed:
  katello-host-tools.noarch 0:3.5.4-1.el7                     katello-host-tools-fact-plugin.noarch 0:3.5.4-1.el7                      libnl.x86_64 0:1.1.4-3.el7                 python-backports.x86_64 0:1.0-8.el7        python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7    
  python-beautifulsoup4.noarch 0:4.4.1-1.el7                  python-dateutil.noarch 0:1.5-7.el7                                       python-dmidecode.x86_64 0:3.12.2-4.el7     python-ethtool.x86_64 0:0.8-8.el7          python-html5lib.noarch 1:0.999-7.el7                          
  python-inotify.noarch 0:0.9.4-4.el7                         python-ipaddress.noarch 0:1.0.16-2.el7                                   python-lxml.x86_64 0:3.2.1-4.el7           python-setuptools.noarch 0:0.9.8-7.el7     python-syspurpose.x86_64 0:1.24.26-4.el7.centos               
  python2-argcomplete.noarch 0:1.7.0-4.el7                    python2-future.noarch 0:0.18.2-2.el7                                     python2-psutil.x86_64 0:5.6.7-1.el7        python2-tracer.noarch 0:0.7.4-1.el7        subscription-manager.x86_64 0:1.24.26-4.el7.centos            
  subscription-manager-rhsm.x86_64 0:1.24.26-4.el7.centos     subscription-manager-rhsm-certificates.x86_64 0:1.24.26-4.el7.centos     tracer-common.noarch 0:0.7.4-1.el7         usermode.x86_64 0:1.111-6.el7             

Complete!
[root@localhost ~]# cat /etc/redhat-release 
CentOS Linux release 7.7.1908 (Core)

Was this a fresh install or an upgrade of the katello-host-tools-tracer package?

The katello server installs python3-future as dependency to python3-pulp-container. katello-host-tools-tracer wants python2-future. Both want to create /usr/bin/futurize.

I guess as python3-future seems to be compatible to python2 the dependency needs to to be updated…

1 Like

The system that was failing for me also ran katello server and a foreman-proxy. All other hosts installed just fine.

@cintrix84 any chance to have a look at this? You need to install a katello server or at least python3-pulp-container and then katello-host-tools-tracer. That should reproduce the issue.

2 Likes

@gvde

Sure I can try again, where do I get python3-pulp-container, I have never done anything with containers, so some steps would be helpful please.

1 Like

It’s not about the containers. It’s just about installing that rpm package. python3-pulp-container is in katellos pulpcore repository. Setup the katello repositories as described in the installation docs and install python3-pulp-container (which usually happens if you install katello). Then try to install katello-host-tools-tracer.

Sounds good, thanks for the steps. Will look at this more tomorrow in detail.

1 Like

Sorry for the delay.

Had a few things come up today, set some time aside Monday to start working on this.

I was able to replicate the problem and talking it over with a few devs, have made the following redmine issue for it:

https://projects.theforeman.org/issues/31187

We will triage it Wed to a release and you can follow it there for updates. Sorry again for the delay.

1 Like