Bug 2031786

Summary: [RHEL-9] Undeclared file conflicts: lksctp-tools
Product: Red Hat Enterprise Linux 9 Reporter: Petr Zatko <pzatko>
Component: lksctp-toolsAssignee: Xin Long <lxin>
Status: CLOSED ERRATA QA Contact: ying xu <yinxu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: mleitner, network-qe, yoguma
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lksctp-tools-1.0.19-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 11:17:16 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:
Bug Depends On:    
Bug Blocks: 1898842    
Deadline: 2022-06-06   

Description Petr Zatko 2021-12-13 12:36:16 UTC
Description of problem:
lksctp-tools has undeclared file conflicts in RHEL-9

Version-Release number of selected component (if applicable):
RHEL-9.0.0-20211211.3
lksctp-tools-1.0.19-1.el9.i686
lksctp-tools-1.0.19-1.el9.x86_64

Steps to Reproduce:
Try to install the aforementioned packages together

Actual results:
lksctp-tools-1.0.19-1.el9.i686.rpm lksctp-tools-1.0.19-1.el9.x86_64.rpm
warning: /root/tmp.wW0M9zGnl5/rpms/lksctp-tools-1.0.19-1.el9.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
	file /usr/bin/withsctp conflicts between attempted installs of lksctp-tools-1.0.19-1.el9.i686 and lksctp-tools-1.0.19-1.el9.x86_64

Expected result:
No conflicts in case packages that are expected to be installable together , e.g. multilib packages
Declared conflicts where the conflict is expected

Additional information:
This bug was generated by RTT semiautomatic-reporting workflow

Comment 1 Xin Long 2021-12-13 17:01:39 UTC
This conflict was caused by:

# diff /usr/bin/withsctp /tmp/withsctp
3c3
< LIBDIR=/usr/lib/lksctp-tools
---
> LIBDIR=/usr/lib64/lksctp-tools

withsctp provided by x86_64 and i686 are different.

The check requires: Multiple RPM packages can own the same file, but only if the file in both packages is the same.

Comment 10 ying xu 2022-05-24 13:12:40 UTC
use the package in comment9,
    2  yum install http://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/lksctp-tools/1.0.19/2.el9/i686/lksctp-tools-1.0.19-2.el9.i686.rpm
    3  yum install http://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/lksctp-tools/1.0.19/2.el9/x86_64/lksctp-tools-1.0.19-2.el9.x86_64.rpm


withou --force , success.
# rpm -qa|grep lksctp
lksctp-tools-1.0.19-2.el9.i686
lksctp-tools-1.0.19-2.el9.x86_64

Comment 13 ying xu 2022-05-25 02:54:17 UTC
as comment 10 said, set verified

Comment 15 errata-xmlrpc 2022-11-15 11:17:16 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 (lksctp-tools bug fix and enhancement update), 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-2022:8324