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 - file conflict with leapp-repository-sos-plugin
Summary: file conflict with leapp-repository-sos-plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: leapp-repository
Version: 7.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Leapp team
QA Contact: Alois Mahdal
URL:
Whiteboard:
: 1825960 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-04 10:06 UTC by Branislav Náter
Modified: 2020-04-29 01:46 UTC (History)
11 users (show)

Fixed In Version: leapp-repository-0.10.0-2.el7_8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-29 01:46:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1959 0 None None None 2020-04-29 01:46:03 UTC

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


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