Bug 1190501

Summary: libguestfs-winsupport conflicts with ntfs-3g from EPEL
Product: Red Hat Enterprise Linux 7 Reporter: Nux <nux>
Component: libguestfs-winsupportAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: dornelas, huzhan, leiwang, ngalvin, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libguestfs-winsupport-7.2-1.el7 Doc Type: Bug Fix
Doc Text:
Cause: Previously the packages libguestfs-winsupport (in the RHEL V2VWIN channel) and ntfs-3g (in EPEL) contained conflicting files. Consequence: As a result you could not install libguestfs-winsupport and ntfs-3g together. Fix: The packaging of libguestfs-winsupport was changed and as a result there are no file conflicts now. Result: You can install libguestfs-winsupport and ntfs-3g together.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:58:56 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: 1240277    
Bug Blocks: 1133060    

Description Nux 2015-02-08 19:31:54 UTC
Description of problem:

file /usr/lib64/libntfs-3g.so.85.0.0 from install of libguestfs-winsupport-7.1-3.el7.x86_64 conflicts with file from package ntfs-3g-2:2014.2.15-8.el7.x86_64



Expected results:
the two packages should not conflict

Comment 2 Richard W.M. Jones 2015-02-09 08:44:06 UTC
Certainly a tricky one to fix.  libguestfs-winsupport is essentially
ntfs-3g, so the packages have a similar function.  It seems we could
either move all the files in libguestfs-winsupport so they don't
conflict, or just add 'Conflicts: ntfs-3g' to the libguestfs-winsupport
package to avoid someone trying to install both, or try to make
the package contents of each identical so rpm allows both packages
to be installed in parallel.

Comment 3 Nux 2015-02-09 09:01:50 UTC
I'd go for a custom installation prefix so as to not mess with a package that is already well known and established. /imho

Comment 5 Hu Zhang 2015-09-16 04:49:15 UTC
Verified with the packages:
libguestfs-winsupport-7.2-1.el7.x86_64
ntfs-3g-2015.3.14-2.el7.x86_64

Verify steps:
1. yum install ntfs-3g libguestfs-winsupport      
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package libguestfs-winsupport.x86_64 0:7.2-1.el7 will be installed
---> Package ntfs-3g.x86_64 2:2015.3.14-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================
 Package                        Arch            Version                    Repository                        Size
==================================================================================================================
Installing:
 libguestfs-winsupport          x86_64          7.2-1.el7                  RHEL-Server-7-candidate          2.1 M
 ntfs-3g                        x86_64          2:2015.3.14-2.el7          epel                             279 k

Transaction Summary
==================================================================================================================
Install  2 Packages

Total download size: 2.4 M
Installed size: 2.8 M
Is this ok [y/d/N]: y
Downloading packages:
libguestfs-winsupport-7.2-1.el7.x86_64.rpm                                                 | 2.1 MB  00:00:04     
ntfs-3g-2015.3.14-2.el7.x86_64.rpm                                                         | 279 kB  00:00:02     
------------------------------------------------------------------------------------------------------------------
Total                                                                             295 kB/s | 2.4 MB  00:00:08     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:ntfs-3g-2015.3.14-2.el7.x86_64                                                               1/2 
  Installing : libguestfs-winsupport-7.2-1.el7.x86_64                                                         2/2 
  Verifying  : libguestfs-winsupport-7.2-1.el7.x86_64                                                         1/2 
  Verifying  : 2:ntfs-3g-2015.3.14-2.el7.x86_64                                                               2/2 

Installed:
  libguestfs-winsupport.x86_64 0:7.2-1.el7                    ntfs-3g.x86_64 2:2015.3.14-2.el7                   

Complete!

So no conflicts. Verified.

Comment 6 errata-xmlrpc 2015-11-19 12:58:56 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, 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://rhn.redhat.com/errata/RHBA-2015-2423.html