Bug 1381451

Summary: glibc.i686 conflicts with glibc.x86_64
Product: [Fedora] Fedora Reporter: Victor Costan <costan>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: arjun.is, codonell, dj, fweimer, jakub, law, mfabian, pfrankli, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-04 07:01:17 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:

Description Victor Costan 2016-10-04 06:58:24 UTC
Description of problem:
The 32-bit and 64-bit versions of glibc can't coexist because they both contain /usr/share/doc/glibc/NEWS

Version-Release number of selected component (if applicable):
glibc-2.23.1-10.fc24.i686
glibc-2.23.1-8.fc24.x86_64

How reproducible: always

Steps to Reproduce:
1. Install 64-bit Fedora 24 
2. dnf install glibc.i686 glibc.x86_64

Actual results:
Error: Transaction check error:
  file /usr/share/doc/glibc/NEWS from install of glibc-2.23.1-10.fc24.i686 conflicts with file from package glibc-2.23.1-8.fc24.x86_64

Expected results: successful installation

Additional info:
1) I don't care for the NEWS file. I just want my programs to run, and one of them wants /lib/ld-linux.so.2
2) It seems to me that a reasonable solution would be to move text files, like NEWS, to a noarch package. Both the i686 and the x86_64 glibc packages could then depend on it.

Comment 1 Florian Weimer 2016-10-04 07:01:17 UTC
(In reply to Victor Costan from comment #0)
> Actual results:
> Error: Transaction check error:
>   file /usr/share/doc/glibc/NEWS from install of glibc-2.23.1-10.fc24.i686
> conflicts with file from package glibc-2.23.1-8.fc24.x86_64

This is not a bug because the two packages do conflict.  Your packages sources are inconsistent.  You need to obtain the same versions for both architectures.

Comment 2 Victor Costan 2016-10-04 07:24:23 UTC
Thank you _so much_ for the very quick response, and for pointing me in the right direction!

FWIW (and for other folks who run into the same issue), dnf somehow managed to install both glibc-2.23.1-8.fc24.x86_64 and glibc-2.23.1-10.fc24.x86_64. Removing the older package fixed the problem.