Bug 1381451 - glibc.i686 conflicts with glibc.x86_64
Summary: glibc.i686 conflicts with glibc.x86_64
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-04 06:58 UTC by Victor Costan
Modified: 2016-10-04 07:24 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-04 07:01:17 UTC
Type: Bug


Attachments (Terms of Use)

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.


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