Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1723208

Summary: The gcc-c++ cannot be installed on RHEL 7.7 beta using command "yum -y install gcc-c++"
Product: Red Hat Enterprise Linux 7 Reporter: Zbyněk Červinka <zcervink>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: james.antill, mdomonko, teemu.ahola
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-02 12:54: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:

Description Zbyněk Červinka 2019-06-23 21:27:14 UTC
Description of problem:
The gcc-c++ cannot be installed on RHEL 7.7 beta using command "yum -y install gcc-c++"


Error: Package: glibc-2.17-260.el7_6.6.i686 (rhel-7-server-os-rpms)
           Requires: glibc-common = 2.17-260.el7_6.6
           Installed: glibc-common-2.17-292.el7.x86_64 (installed)
               glibc-common = 2.17-292.el7

Error: Package: libstdc++-devel-4.8.5-36.el7_6.2.x86_64 (rhel-7-server-os-rpms)
           Requires: libstdc++(x86-64) = 4.8.5-36.el7_6.2
           Installed: libstdc++-4.8.5-39.el7.x86_64 (installed)
               libstdc++(x86-64) = 4.8.5-39.el7



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Enter the "yum -y install gcc-c++" command into the terminal and see the description of the unsuccessful installation



Actual results:


Expected results:


Additional info:


FULL CONSOLE OUTPUT:

[root@zcervink1-rhel-77 ~]# yum -y install gcc-c++
Loaded plugins: search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: gcc = 4.8.5-36.el7_6.2 for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libstdc++ = 4.8.5-36.el7_6.2 for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libstdc++-devel = 4.8.5-36.el7_6.2 for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-c++-4.8.5-36.el7_6.2.x86_64
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: cpp = 4.8.5-36.el7_6.2 for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: libgomp = 4.8.5-36.el7_6.2 for package: gcc-4.8.5-36.el7_6.2.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-36.el7_6.2.x86_64
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package libstdc++.i686 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: ld-linux.so.2 for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6 for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libm.so.6 for package: libstdc++-4.8.5-36.el7_6.2.i686
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: libstdc++-4.8.5-36.el7_6.2.i686
---> Package libstdc++-devel.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.8.5-36.el7_6.2 for package: libstdc++-devel-4.8.5-36.el7_6.2.x86_64
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-36.el7_6.2 will be installed
---> Package glibc.i686 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: glibc-common = 2.17-260.el7_6.6 for package: glibc-2.17-260.el7_6.6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-260.el7_6.6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-260.el7_6.6.i686
---> Package glibc-devel.x86_64 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: glibc-headers = 2.17-260.el7_6.6 for package: glibc-devel-2.17-260.el7_6.6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-260.el7_6.6.x86_64
---> Package libgcc.i686 0:4.8.5-36.el7_6.2 will be installed
---> Package libgomp.i686 0:4.8.5-36.el7_6.2 will be installed
---> Package libstdc++-devel.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.8.5-36.el7_6.2 for package: libstdc++-devel-4.8.5-36.el7_6.2.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: glibc-common = 2.17-260.el7_6.6 for package: glibc-2.17-260.el7_6.6.i686
---> Package glibc-headers.x86_64 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-260.el7_6.6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-260.el7_6.6.x86_64
---> Package libstdc++-devel.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.8.5-36.el7_6.2 for package: libstdc++-devel-4.8.5-36.el7_6.2.x86_64
---> Package nss-softokn-freebl.i686 0:3.36.0-5.el7_5 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-260.el7_6.6 will be installed
--> Processing Dependency: glibc-common = 2.17-260.el7_6.6 for package: glibc-2.17-260.el7_6.6.i686
---> Package kernel-headers.x86_64 0:3.10.0-957.21.3.el7 will be installed
---> Package libstdc++-devel.x86_64 0:4.8.5-36.el7_6.2 will be installed
--> Processing Dependency: libstdc++(x86-64) = 4.8.5-36.el7_6.2 for package: libstdc++-devel-4.8.5-36.el7_6.2.x86_64
--> Finished Dependency Resolution
Error: Package: glibc-2.17-260.el7_6.6.i686 (rhel-7-server-os-rpms)
           Requires: glibc-common = 2.17-260.el7_6.6
           Installed: glibc-common-2.17-292.el7.x86_64 (installed)
               glibc-common = 2.17-292.el7
           Available: glibc-common-2.17-55.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-55.el7
           Available: glibc-common-2.17-55.el7_0.1.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-55.el7_0.1
           Available: glibc-common-2.17-55.el7_0.3.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-55.el7_0.3
           Available: glibc-common-2.17-55.el7_0.5.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-55.el7_0.5
           Available: glibc-common-2.17-78.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-78.el7
           Available: glibc-common-2.17-105.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-105.el7
           Available: glibc-common-2.17-106.el7_2.1.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-106.el7_2.1
           Available: glibc-common-2.17-106.el7_2.4.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-106.el7_2.4
           Available: glibc-common-2.17-106.el7_2.6.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-106.el7_2.6
           Available: glibc-common-2.17-106.el7_2.8.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-106.el7_2.8
           Available: glibc-common-2.17-157.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-157.el7
           Available: glibc-common-2.17-157.el7_3.1.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-157.el7_3.1
           Available: glibc-common-2.17-157.el7_3.2.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-157.el7_3.2
           Available: glibc-common-2.17-157.el7_3.4.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-157.el7_3.4
           Available: glibc-common-2.17-157.el7_3.5.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-157.el7_3.5
           Available: glibc-common-2.17-196.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-196.el7
           Available: glibc-common-2.17-196.el7_4.2.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-196.el7_4.2
           Available: glibc-common-2.17-222.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-222.el7
           Available: glibc-common-2.17-260.el7.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-260.el7
           Available: glibc-common-2.17-260.el7_6.3.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-260.el7_6.3
           Available: glibc-common-2.17-260.el7_6.4.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-260.el7_6.4
           Available: glibc-common-2.17-260.el7_6.5.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-260.el7_6.5
           Available: glibc-common-2.17-260.el7_6.6.x86_64 (rhel-7-server-os-rpms)
               glibc-common = 2.17-260.el7_6.6
Error: Package: libstdc++-devel-4.8.5-36.el7_6.2.x86_64 (rhel-7-server-os-rpms)
           Requires: libstdc++(x86-64) = 4.8.5-36.el7_6.2
           Installed: libstdc++-4.8.5-39.el7.x86_64 (installed)
               libstdc++(x86-64) = 4.8.5-39.el7
           Available: libstdc++-4.8.2-16.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.2-16.el7
           Available: libstdc++-4.8.2-16.2.el7_0.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.2-16.2.el7_0
           Available: libstdc++-4.8.3-9.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.3-9.el7
           Available: libstdc++-4.8.5-4.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-4.el7
           Available: libstdc++-4.8.5-11.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-11.el7
           Available: libstdc++-4.8.5-16.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-16.el7
           Available: libstdc++-4.8.5-16.el7_4.1.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-16.el7_4.1
           Available: libstdc++-4.8.5-16.el7_4.2.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-16.el7_4.2
           Available: libstdc++-4.8.5-28.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-28.el7
           Available: libstdc++-4.8.5-28.el7_5.1.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-28.el7_5.1
           Available: libstdc++-4.8.5-36.el7.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-36.el7
           Available: libstdc++-4.8.5-36.el7_6.1.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-36.el7_6.1
           Available: libstdc++-4.8.5-36.el7_6.2.x86_64 (rhel-7-server-os-rpms)
               libstdc++(x86-64) = 4.8.5-36.el7_6.2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@zcervink1-rhel-77 ~]#

Comment 2 Zbyněk Červinka 2019-07-02 12:20:07 UTC
Update on this issue - I have had wrong repos, after fix on my side the installation of the gcc-c++ using the "yum -y install gcc-c++" command is now successful. I am closing this issue.

Comment 3 Zbyněk Červinka 2019-07-02 12:53:22 UTC
Well, I have found, that I am not able to close this issue, probably only people from Packaging Maintenance Team can close this bug. I have written an email to "packaging-team-maint" with a request to close this bug.

Comment 4 Teemu Ahola 2019-08-28 06:51:27 UTC
(In reply to Zbyněk Červinka from comment #2)
> Update on this issue - I have had wrong repos, after fix on my side the
> installation of the gcc-c++ using the "yum -y install gcc-c++" command is
> now successful. I am closing this issue.

Hi,

I have the same issue. What is the correct repo you are using?

*Teemu*