Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1820862

Summary: file conflict with leapp-repository-sos-plugin
Product: Red Hat Enterprise Linux 7 Reporter: Branislav Náter <bnater>
Component: leapp-repositoryAssignee: Leapp team <leapp-notifications>
Status: CLOSED ERRATA QA Contact: Alois Mahdal <amahdal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.8CC: agk, azelinka, bmr, drusek, fkrska, khoes, plambri, pmoravec, pstodulk, rmetrich, sbradley
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: leapp-repository-0.10.0-2.el7_8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-29 01:46:00 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 Branislav Náter 2020-04-04 10:06:11 UTC
Description of problem:
Following file conflicts have been found:

Transaction check error:
  file /usr/lib/python2.7/site-packages/sos/plugins/leapp.py from install of leapp-repository-sos-plugin-0.9.0-4.el7.noarch conflicts with file from package sos-3.8-6.el7.noarch
  file /usr/lib/python2.7/site-packages/sos/plugins/leapp.pyc from install of leapp-repository-sos-plugin-0.9.0-4.el7.noarch conflicts with file from package sos-3.8-6.el7.noarch
  file /usr/lib/python2.7/site-packages/sos/plugins/leapp.pyo from install of leapp-repository-sos-plugin-0.9.0-4.el7.noarch conflicts with file from package sos-3.8-6.el7.noarch

Version-Release number of selected component (if applicable):
leapp-repository-sos-plugin-0.9.0-4.el7
sos-3.8-6.el7

Steps to Reproduce:
1. yum install leapp-repository-sos-plugin sos

Comment 2 Pavel Moravec 2020-04-04 10:47:08 UTC
This is a leapp-repository problem.

No one (other than sos) ever should install anything into /usr/lib/python2.7/site-packages/sos/plugins/ directory. Reasons for this - see mail on os-devel-list I compose.

Both leapp-repository-sos-plugin and sos (3.8 or newer, as delivered since 7.8/8.2) contains equivalent leapp.py that collects same data at some situations.

Please, remove the leapp-repository-sos-plugin package from RHEL distributions (7.8+ and 8.2+).

Comment 3 Petr Stodulka 2020-04-05 19:49:44 UTC
Hi Pavel,
I guess that here is misunderstanding. There were reasons why the file has been delivered in the past inside of the leapp-repository subpackage. But yes, we plan to remove it as the reasons are obsoleted when the plugin has been added in RHEL 7.8. The next release of leapp-repository will happen on RHEL 8.2 GA release day. 

Btw, the issue is already resolved by Obsoletes in sos-3.8-8.

Comment 4 Petr Stodulka 2020-04-05 19:55:29 UTC
Feel free to assign it back to sos if you want to track delivery of the fix in RHEL 7.8 and release the sos-3.8-8+ through z-stream earlier than RHEL 8.2 GA date.

Comment 5 Pavel Moravec 2020-04-06 10:09:42 UTC
(In reply to Petr Stodulka from comment #3)
> Btw, the issue is already resolved by Obsoletes in sos-3.8-8.

Indeed, jjansky++ added it in the version that will go to 7.8.z (.1, I guess). Thanks for removal anyway!

Comment 8 Petr Stodulka 2020-04-20 15:30:18 UTC
*** Bug 1825960 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2020-04-29 01:46:00 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, 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/RHBA-2020:1959