Bug 1886836

Summary: Missing conflicts for older openvswitch packages
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Ondrej Lichtner <olichtne>
Component: openvswitch2.13Assignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: Rick Alongi <ralongi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: RHEL 8.0CC: ctrautma, fleitner, jhsiao, kfida, ralongi, tredaelli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.13-2.13.0-63.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-01 15:07:43 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 Ondrej Lichtner 2020-10-09 13:55:37 UTC
Description of problem:

Trying to install openvswitch2.13 when an older version package (e.g. openvswitch2.11) is installed, the installation fails due to file conflicts.


Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1. dnf install -y openvswitch2.11-2.11.3-69.el8fdp
2. dnf install -y openvswitch2.13-2.13.0-60.el8fdp

Actual results:

Installation fails with the error of the following format:

Transaction check error:
  file /usr/bin/ovs-appctl from install of openvswitch2.13-2.13.0-60.el8fdp.x86_64 conflicts with file from package openvswitch2.11-2.11.3-69.el8fdp.x86_64


Expected results:

Fail due to conflicting packages instead of conflicting files, which I think should allow for the use of "dnf swap" or "dnf install --allowerasing" in case we want the newer package to replace the older one.

Additional info:

Comment 1 OvS team 2020-10-22 08:11:01 UTC
* Wed Oct 21 2020 Open vSwitch CI <ovs-team> - 2.13.0-63
- Merging upstream branch-2.13
  [6f80f8c230dadd1c4c8a6830aab018271b79f66e]

* Wed Oct 21 2020 Timothy Redaelli <tredaelli> - 2.13.0-62
- redhat: Add conflicts for older versioned packages (#1886836)
  [b1f563c73886c6bded2f4b076f52caa5b12cd026]

Comment 7 errata-xmlrpc 2020-12-01 15:07:43 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 (openvswitch2.13 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-2020:5310