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:


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.