Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1918322

Summary: pulp 3 packages conflict with python2-future if pulp-admin is installed
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: PackagingAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: desingh, egolov, jjansky, swadeley, zhunting
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-future-0.18.2-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:25:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Sherrill 2021-01-20 12:58:29 UTC
Description of problem:


2021-01-19 16:26:05 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Container/Pulpcore::Plugin[container]/Package[python3-pulp-container]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install python3-pulp-container' returned 1: Transaction check error:
2021-01-19 16:26:05 [ERROR ] [configure] file /usr/bin/futurize from install of python3-future-0.18.2-2.el7pc.noarch conflicts with file from package python2-future-0.16.0-11.el7sat.noarch
2021-01-19 16:26:05 [ERROR ] [configure] file /usr/bin/pasteurize from install of python3-future-0.18.2-2.el7pc.noarch conflicts with file from package python2-future-0.16.0-11.el7sat.noarch


[root@DOGFOOD-CLONE ~]# rpm -e python2-future
error: Failed dependencies:
	python2-future is needed by (installed) python2-okaara-1.0.37-2.el7sat.noarch
[root@DOGFOOD-CLONE ~]# rpm -e python2-future python2-okaara 
error: Failed dependencies:
	python-okaara >= 1.0.32 is needed by (installed) python-pulp-client-lib-2.21.4-2.el7sat.noarch
[root@DOGFOOD-CLONE ~]# rpm -e python2-future python2-okaara python-pulp-client-lib 
error: Failed dependencies:
	python-pulp-client-lib = 2.21.4 is needed by (installed) pulp-admin-client-2.21.4-2.el7sat.noarch

Comment 1 Evgeni Golov 2021-01-25 09:01:06 UTC
*** Bug 1919303 has been marked as a duplicate of this bug. ***

Comment 3 Lukas Pramuk 2021-02-07 22:42:22 UTC
VERIFIED.

@Satellite 6.9.0 Snap12
python3-future-0.18.2-3.el7pc.noarch

by following manual reproducer:

1) Have Satellite installed

2) Try to install additional pulp-admin-client


FIX:
# yum -y --disableplugin foreman-protector install pulp-admin-client
...
Installed:
  pulp-admin-client.noarch 0:2.21.4-2.el7sat                                                                            

Dependency Installed:
  python-pulp-bindings.noarch 0:2.21.4-2.el7sat             python-pulp-client-lib.noarch 0:2.21.4-2.el7sat            
  python2-future.noarch 0:0.16.0-11.el7sat                  python2-okaara.noarch 0:1.0.37-2.el7sat                    

Complete!


vs.

REPRO:
# yum -y --disableplugin foreman-protector install pulp-admin-client
...
Transaction check error:
  file /usr/bin/futurize from install of python2-future-0.16.0-11.el7sat.noarch conflicts with file from package python3-future-0.18.2-2.el7pc.noarch
  file /usr/bin/pasteurize from install of python2-future-0.16.0-11.el7sat.noarch conflicts with file from package python3-future-0.18.2-2.el7pc.noarch

Error Summary
-------------

>>> python3-future is no longer conflicting with python2-future required by pulp-admin-client

Comment 6 errata-xmlrpc 2021-04-21 13:25:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.9 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1313