Bug 1918322 - pulp 3 packages conflict with python2-future if pulp-admin is installed
Summary: pulp 3 packages conflict with python2-future if pulp-admin is installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.9.0
Assignee: Evgeni Golov
QA Contact: Lukas Pramuk
URL:
Whiteboard:
: 1919303 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-20 12:58 UTC by Justin Sherrill
Modified: 2021-04-21 13:25 UTC (History)
5 users (show)

Fixed In Version: python-future-0.18.2-3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:25:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman pulpcore-packaging pull 87 0 None closed Don't ship futurize and pasteurize in bin 2021-02-07 22:38:13 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:25:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.