Bug 1035311 - Transaction check errors due to file conflicts
Summary: Transaction check errors due to file conflicts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libibverbs-rocee
Version: 6.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Doug Ledford
QA Contact: Infiniband QE
URL:
Whiteboard:
Depends On:
Blocks: 1037759
TreeView+ depends on / blocked
 
Reported: 2013-11-27 14:15 UTC by Radek Bíba
Modified: 2014-07-04 04:27 UTC (History)
3 users (show)

Fixed In Version: libibverbs-rocee-1.1.7-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-03 18:41:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Radek Bíba 2013-11-27 14:15:30 UTC
Description of problem:
"yum --skip-broken install '*'" should (ideally) be able to install as many non-conflicting packages as possible, taking Obsoletes: into account. There are some broken packages that must be excluded manually (bugs exist), so we are able to install almost everything using our scripts. Unfortunately, it seems we need to add something new to the exclusion lists now. Here are some interesting excerpts:

 libibverbs-devel   i686   1.1.7-1.el6      rhel-x86_64-server-6           61 k
 libibverbs-devel   x86_64 1.1.7-1.el6      rhel-x86_64-server-6           61 k
 libibverbs-devel-static
                    x86_64 1.1.7-1.el6      rhel-x86_64-server-optional-6  29 k
 libibverbs-rocee   i686   1.1.7-1.el6      rhel-x86_64-server-hpn-6       46 k
 libibverbs-rocee   x86_64 1.1.7-1.el6      rhel-x86_64-server-hpn-6       45 k
 libibverbs-rocee-devel
                    i686   1.1.7-1.el6      rhel-x86_64-server-hpn-6       61 k
 libibverbs-rocee-devel
                    x86_64 1.1.7-1.el6      rhel-x86_64-server-hpn-6       61 k
 libibverbs-rocee-devel-static
                    x86_64 1.1.7-1.el6      rhel-x86_64-server-hpn-6       29 k
 libibverbs-rocee-utils
                    x86_64 1.1.7-1.el6      rhel-x86_64-server-hpn-6       36 k
 libibverbs-utils   x86_64 1.1.7-1.el6      rhel-x86_64-server-6           36 k

...

  file /usr/bin/ibv_asyncwatch conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/bin/ibv_devices conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/bin/ibv_devinfo conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/bin/ibv_rc_pingpong conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/bin/ibv_srq_pingpong conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/bin/ibv_uc_pingpong conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/bin/ibv_ud_pingpong conflicts between attempted installs of libibverbs-utils-1.1.7-1.el6.x86_64 and libibverbs-rocee-utils-1.1.7-1.el6.x86_64
  file /usr/lib64/libibverbs.a conflicts between attempted installs of libibverbs-rocee-devel-static-1.1.7-1.el6.x86_64 and libibverbs-devel-static-1.1.7-1.el6.x86_64

I assume this should have been made consistent:

Name: libibverbs-rocee
Obsoletes: libibverbs < 1.1.8
...
%package devel
Obsoletes: libibverbs-devel < 1.1.7
...
%package devel-static
Obsoletes: libibverbs-devel-static < 1.1.7
...
%package utils
Obsoletes: libibverbs-utils < 1.1.7

I haven't tried that, but if the subpackages obsoleted version 1.1.8 too, I believe "yum install '*'" wouldn't include the non-roccee counterparts, and the transaction would succeed.

Comment 2 Doug Ledford 2013-11-27 16:08:43 UTC
Yes, this would have worked if that had gotten changed everywhere.  I'll update the spec file to make sure that they all use the same version (I'll create a global macro for this so this can't happen again in the future) and build a new package.  I'll also double check that libmlx4-rocee doesn't have the same problem (which it could, I think yum bails on the first of these types of errors, so we could fix libibverbs and then libmlx4 come behind with the same problem if I don't check).

I should have new packages in a couple hours (have to step out for an appt or else it would be sooner).  We will need to fasttrack these through.

Comment 3 RHEL Program Management 2013-12-01 09:06:29 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Doug Ledford 2013-12-02 21:30:59 UTC
Fix is built locally and ready to check in, but I can't do so until the flags on this bug are set properly.

Honggang, can I please get a qe ack?

I also need a pm ack.

This will need to be fast tracked as soon as possible as it breaks yum upgrades for people with the HPN channel subscribed.  Fortunately, most of our IB users are a bit slow to update and so we can fix this before they hit it, but we need to move quickly to do so.  I already have one known support ticket related to this bug.

Comment 5 Doug Ledford 2013-12-03 17:06:48 UTC
Drop the fast flag and wait for someone to set the z-stream flag.

Comment 11 Michal Schmidt 2014-07-03 18:41:58 UTC
In RHEL 6.6 libibverbs-rocee is Obsoleted by libibverbs.


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