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 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