Bug 1318525
Summary: | [RHEL 6.8 Beta] packages depends on glibc-common cannot be installed due to dependeny issue | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | lizzha | ||||||||
Component: | yum | Assignee: | Valentina Mukhamedzhanova <vmukhame> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 6.8 | CC: | ashankar, codonell, fweimer, james.antill, lizzha, mnewsome, pfrankli | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-03-22 09:14:20 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: | |||||||||||
Attachments: |
|
Description
lizzha
2016-03-17 07:00:51 UTC
I don't think there's a bug in the gcc spec file (and this BZ has nothing to do with gcc-libraries). But Installed: glibc-common-2.12-1.192.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201603081323.x86_64/6.8) looks very weird and I wouldn't expect this to be the like that. Sounds like an earlier upgrade process went wrong? I'd probably downgrade the glibc-common package to the version in rhui-rhel-6-server-rhui-rpms and try again. For some reason, gcc-4.4.7-16.el6.x86_64 pulls in the i686 version of libgomp: --> Processing Dependency: libgomp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64 … ---> Package libgomp.i686 0:4.4.7-16.el6 will be installed Usually, this happens if yum tried to install the x86_64 version, but can't do so due to a conflict or other unsatisfied dependency. This dependency problem is not shown in the yum output and is different from trying to install an i686 glibc version which is not equal to the installed x86_64 version. The output from “yum repolist -v”, “yum info --showduplicates libgomp” and “yum upgrade libgomp” might reveal potential causes of this problem. (If the intent is to mirror the RHEL 6.8 beta RPM channels, please use reposync because it does not depend on the already installed package set.) This is a yum bug *and* a user system configuration error. Given no previous constraint to install libgomp.i686, yum chooses libgomp.i686 to satisfy the libgomp requirement from gcc.x86_64. Yum should have chosen libgomp.x86_64, which would not have required any newer runtimes and should have worked just fine to install. I'm handing this bug to yum for review. The user system configuration error is that without the RHEL 6.8 HTB repositories you will be unable to install any 32-bit packages. The reason for this is that you have upgraded the 64-bit glibc to RHEL 6.8 HTB versions and any 32-bit glibc must also match this version. You no longer have the RHEL 6.8 HTB repository available so you can't install the required RHEL 6.8 HTB versions of glibc.i686 which you need to support 32-bit binaries. e.g. ~~~ Error: Package: glibc-2.12-1.166.el6_7.7.i686 (rhui-rhel-6-server-rhui-rpms) Requires: glibc-common = 2.12-1.166.el6_7.7 Installed: glibc-common-2.12-1.192.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201603081323.x86_64/6.8) ~~~ Let me break it down: (1) User installs glibc.x86_64 to RHEL 6.8 HTB (2.12-1.192.el6.x86_64) using the repository provided by the installer (Anaconda). But doesn't install the 32-bit glibc to support 32-bit binaries. This also installs glibc-common.x86_64 to glibc-common-2.12-1.192.el6.x86_64 to match the RHEL 6.8 HTB version. (2) Running the normal system *without* the RHEL 6.8 HTB repos (only old repos) available the user attempts to install gcc.x86_64. At this point glibc.i686 is no longer available which matches the RHEL 6.8 HTB versions, and therefore yum cannot install the matching 32-bit runtimes without the RHEL 6.8 HTB repo. (3) During install of gcc.x86_64 yum choses to install libgomp.i686 as way to satisfy the non-arch-specific requirement for libgomp. This is a bug in yum, if it had chosen libgomp.x86_64 the install would have succeeded. Workarounds to try: (a) yum install libgomp.x86_64 (b) Add rhel-6.8 HTB repos to your system configuration. This should satisfy libgomp requirement without having yum select the 32-bit version. As Florian notes in comment #3 it may be that another dependency issue caused libgomp.i686 to be selected when it should not have. Sorry, I cannot reproduce this with a default Red Hat Enterprise Linux 6.8 Beta installation, Server variant, Basic Server option selected in the installer. For me, the yum command provided in the description does not report any conflicts. How was the system installed on which the yum command failed? Lizzha, would you please attach the output of the command “rpm -qa”? Thanks. Created attachment 1138867 [details]
kickstart file to install the VM on Hyper-V
Created attachment 1138868 [details]
Output of "rpm -qa"
Created attachment 1138869 [details]
Output of "yum install gcc"
Tried with a fresh install on Hyper-V, and the issue repros. We used the attached kickstart file to install the system, and also attached the output of "rpm -qa" (In reply to lizzha from comment #9) > Created attachment 1138868 [details] > Output of "rpm -qa" Thanks, this was very helpful. I compare your package list against mine, and they are identical, yet I can successfully install the gcc package. So this is likely an issue with the repository configuration of the system, or repository contents itself. Could you show the output of “yum repolist -v”? This is what I get. [root@localhost ~]# yum repolist -v Not loading "rhnplugin" plugin, as it is disabled Loading "product-id" plugin Loading "search-disabled-repos" plugin Loading "security" plugin Loading "subscription-manager" plugin Updating Subscription Management repositories. Unable to read consumer identity Config time: 2.908 Yum Version: 3.2.29 Setting up Package Sacks pkgsack time: 0.005 Repo-id : rhel-6-server-beta-rpms Repo-name : Red Hat Enterprise Linux 6 Server Beta (RPMs) Repo-revision: 1457713922 Repo-updated : Fri Mar 11 17:33:04 2016 Repo-pkgs : 3,831 Repo-size : 3.3 G Repo-baseurl : https://cdn.redhat.com/content/beta/rhel/server/6/6Server/x86_64/os Repo-expire : 86,400 second(s) (last: Mon Mar 21 23:37:56 2016) repolist: 3,831 That's probably where the problem is.Here's what I get, and I used subscription-manager to get registered. [root@localhost ~]# yum repolist -v Not loading "rhnplugin" plugin, as it is disabled Loading "product-id" plugin Loading "search-disabled-repos" plugin Loading "security" plugin Loading "subscription-manager" plugin Updating Subscription Management repositories. Config time: 4.867 Yum Version: 3.2.29 Setting up Package Sacks pkgsack time: 0.040 Repo-id : rhel-6-server-eus-rpms Repo-name : Red Hat Enterprise Linux 6 Server - Extended Update Support (RPMs) Repo-revision: 1458600406 Repo-updated : Mon Mar 21 18:51:51 2016 Repo-pkgs : 16,675 Repo-size : 29 G Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:27 2016) Repo-id : rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux 6 Server (RPMs) Repo-revision: 1458611510 Repo-updated : Mon Mar 21 21:56:49 2016 Repo-pkgs : 16,703 Repo-size : 29 G Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:29 2016) Repo-id : rhel-ha-for-rhel-6-server-eus-rpms Repo-name : Red Hat Enterprise Linux High Availability (for RHEL 6 Server) - Extended Update Support (RPMs) Repo-revision: 1455041856 Repo-updated : Tue Feb 9 13:17:43 2016 Repo-pkgs : 533 Repo-size : 468 M Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/highavailability/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:31 2016) Repo-id : rhel-ha-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux High Availability (for RHEL 6 Server) (RPMs) Repo-revision: 1455041492 Repo-updated : Tue Feb 9 13:11:38 2016 Repo-pkgs : 498 Repo-size : 239 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/highavailability/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:31 2016) Repo-id : rhel-hpn-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux High Performance Networking (for RHEL 6 Server) (RPMs) Repo-revision: 1412145042 Repo-updated : Wed Oct 1 02:31:01 2014 Repo-pkgs : 54 Repo-size : 2.0 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/hpn/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:32 2016) Repo-id : rhel-lb-for-rhel-6-server-eus-rpms Repo-name : Red Hat Enterprise Linux Load Balancer (for RHEL 6 Server) - Extended Update Support (RPMs) Repo-revision: 1441808247 Repo-updated : Wed Sep 9 10:17:36 2015 Repo-pkgs : 51 Repo-size : 238 M Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/loadbalancer/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:33 2016) Repo-id : rhel-lb-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux Load Balancer (for RHEL 6 Server) (RPMs) Repo-revision: 1441808143 Repo-updated : Wed Sep 9 10:15:44 2015 Repo-pkgs : 21 Repo-size : 9.1 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/loadbalancer/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:34 2016) Repo-id : rhel-rs-for-rhel-6-server-eus-rpms Repo-name : Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) - Extended Update Support (RPMs) Repo-revision: 1455042704 Repo-updated : Tue Feb 9 13:31:55 2016 Repo-pkgs : 579 Repo-size : 257 M Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/resilientstorage/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:35 2016) Repo-id : rhel-rs-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) (RPMs) Repo-revision: 1455042646 Repo-updated : Tue Feb 9 13:30:53 2016 Repo-pkgs : 581 Repo-size : 258 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/resilientstorage/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:36 2016) Repo-id : rhel-sap-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux for SAP (RHEL 6 Server) (RPMs) Repo-revision: 1447168307 Repo-updated : Tue Nov 10 10:11:48 2015 Repo-pkgs : 62 Repo-size : 341 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/sap/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:37 2016) Repo-id : rhel-sap-hana-for-rhel-6-server-rpms Repo-name : RHEL for SAP HANA (for RHEL 6 Server) (RPMs) Repo-revision: 1447168427 Repo-updated : Tue Nov 10 10:13:47 2015 Repo-pkgs : 10 Repo-size : 1.2 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/sap-hana/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:38 2016) Repo-id : rhel-scalefs-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux Scalable File System (for RHEL 6 Server) (RPMs) Repo-revision: 1436893003 Repo-updated : Tue Jul 14 12:56:45 2015 Repo-pkgs : 46 Repo-size : 13 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/scalablefilesystem/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:39 2016) Repo-id : rhel-server-6-rhds-9-rpms Repo-name : Red Hat Directory Server 9 RPMs for Red Hat Enterprise Linux 6 Server Repo-revision: 1437585687 Repo-updated : Wed Jul 22 13:21:29 2015 Repo-pkgs : 49 Repo-size : 9.1 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/directoryserver/9/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:39 2016) Repo-id : rhel-server-dts-6-eus-rpms Repo-name : Red Hat Developer Toolset for RHEL 6 Server EUS (RPMs) Repo-revision: 1412788565 Repo-updated : Wed Oct 8 13:16:08 2014 Repo-pkgs : 84 Repo-size : 263 M Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/devtoolset/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:41 2016) Repo-id : rhel-server-dts-6-rpms Repo-name : Red Hat Developer Toolset RPMs for Red Hat Enterprise Linux 6 Server Repo-revision: 1384292336 Repo-updated : Tue Nov 12 16:39:02 2013 Repo-pkgs : 84 Repo-size : 263 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/devtoolset/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:42 2016) Repo-id : rhel-server-dts2-6-eus-rpms Repo-name : Red Hat Developer Toolset 2 for RHEL 6 Server EUS (RPMs) Repo-revision: 1415032193 Repo-updated : Mon Nov 3 11:30:02 2014 Repo-pkgs : 469 Repo-size : 1.5 G Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/devtoolset/2/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:43 2016) Repo-id : rhel-server-dts2-6-rpms Repo-name : Red Hat Developer Toolset 2 RPMs for Red Hat Enterprise Linux 6 Server Repo-revision: 1414054628 Repo-updated : Thu Oct 23 04:57:57 2014 Repo-pkgs : 469 Repo-size : 1.5 G Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/devtoolset/2/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:44 2016) Repo-id : rhel-sfs-for-rhel-6-server-eus-rpms Repo-name : Red Hat Enterprise Linux Scalable File System (for RHEL 6 Server) - Extended Update Support (RPMs) Repo-revision: 1415201217 Repo-updated : Wed Nov 5 10:26:59 2014 Repo-pkgs : 46 Repo-size : 13 M Repo-baseurl : https://cdn.redhat.com/content/eus/rhel/server/6/6Server/x86_64/scalablefilesystem/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:44 2016) Repo-id : rhel-sjis-for-rhel-6-server-rpms Repo-name : Red Hat Enterprise Linux for S-JIS (RHEL 6 Server) (RPMs) Repo-revision: 1456950375 Repo-updated : Wed Mar 2 15:26:16 2016 Repo-pkgs : 46 Repo-size : 55 M Repo-baseurl : https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/sjis/os Repo-expire : 86,400 second(s) (last: Tue Mar 22 00:45:46 2016) repolist: 37,060 Indeed, I can (sort of) reproduce the issue with an approximation of that repository list. You can fix your system using: # subscription-manager repos --disable='*' # subscription-manager repos --enable=rhel-6-server-beta-rpms I filed bug 1320051 for this usability issue in subscription-manager. Thank you, Florian. That works for me. |