Bug 1170119
| Summary: | rpm install not always keep the native architecture of the machine in multilib environment | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Patrik Kis <pkis> | |
| Component: | rpm | Assignee: | Florian Festi <ffesti> | |
| Status: | CLOSED ERRATA | QA Contact: | Karel Srot <ksrot> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.1 | CC: | ffesti, ksrot, lkardos | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | rpm-4.11.3-10.el7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1170124 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 11:58:25 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: | ||||
| Bug Blocks: | 1170124 | |||
|
Description
Patrik Kis
2014-12-03 10:32:35 UTC
Florian, shouldn't rpm report a file conflict in such case? No, with multilib files with color=1 (typically 32 bit binaries) are silently overwritten by files with color=2 (typically 64 bit binaries). We already fixed this in 6.7. See #1170124. One note why there is no conflict here. Let's have a look at file /usr/bin/sclient. We have this file in four packages (krb5-devel.i686, krb5-devel.x86_64, krb5-server.i686, krb5-server.x86_64) so we have following six combinations (4 choose 2 = 6). /usr/bin/sclient(krb5-devel.i686) vs usr/bin/sclient(krb5-server.i686) -> the same content -> no file conflict /usr/bin/sclient(krb5-devel.x86_64) vs usr/bin/sclient(krb5-server.x86_64) -> the same content -> no file conflict /usr/bin/sclient(krb5-devel.i686) vs usr/bin/sclient(krb5-devel.x86_64) -> different colors -> no file conflict /usr/bin/sclient(krb5-server.i686) vs usr/bin/sclient(krb5-server.x86_64) -> different colors -> no file conflict /usr/bin/sclient(krb5-devel.i686) vs usr/bin/sclient(krb5-server.x86_64) -> different colors -> no file conflict /usr/bin/sclient(krb5-server.i686) vs usr/bin/sclient(krb5-devel.x86_64) -> different colors -> no file conflict So there is no conflict and 64bit variant of file /usr/bin/sclient should be installed. 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-2138.html |