yum update --advisory=RHSA-2017:2128 fails with transaction check error

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7 (RHEL7)
  • RHSA-2017:2128

Issue

  • Files are conflicting between two different packages, how to fix it ?
  • yum update or yum install fails with package conflict between different packages of same architectures.
Transaction Check Error:
file /usr/share/dbus-1/services/org.freedesktop.PackageKit.service from install of gnome-software.x86_64 conflicts with file from package gnome-packagekit-common.x86_64

Resolution

Note: kbase2085463 has generic advice regarding upgrade of Gnome related packages. This kbase here has details regarding a specific issue.

Perform the following steps to remove the conflict of file issue:

  1. Update the gnome-packagekit gstreamer1-plugins-bad-free gnome-software packages:

     # yum update gnome-packagekit.x86_64 gstreamer1-plugins-bad-free.x86_6  gnome-software.x86_64
    
  2. Run yum command:

    # yum clean all 
    # yum update --advisory=RHSA-2017:2128
    

Root Cause

Conflict in the files of packages while updating the advisory.

Diagnostic Steps

Transaction Check Error:
 file /usr/share/dbus-1/services/org.freedesktop.PackageKit.service from install of gnome-software.x86_64 conflicts with file from package gnome-packagekit-common.x86_64

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments