Error trying to install GCC with YUM in RHEL5

Hopefully someone can help me out here. I'm trying to install gcc on a brand new install of RHEL 5 (more specifically Red Hat Enterprise Linux Server release 5.5 Beta (Tikanga)) and I'm getting an error I can't figure out

Should I go back to a non-beta release?

=======
[root@bldemo ~]# yum install gcc
Loaded plugins: fastestmirror, rhnplugin, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
--> Processing Dependency: libgomp >= 4.1.2-46.el5_4.2 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
---> Package glibc-devel.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc-headers = 2.5-42.el5_4.3 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package libgomp.x86_64 0:4.4.0-6.el5 set to be updated
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
---> Package glibc-devel.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
---> Package glibc-devel.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-headers
---> Package kernel-headers.x86_64 0:2.6.18-164.15.1.el5 set to be updated
--> Finished Dependency Resolution
glibc-devel-2.5-42.el5_4.3.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-devel-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
gcc-4.1.2-46.el5_4.2.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: cpp = 4.1.2-46.el5_4.2 is needed by package gcc-4.1.2-46.el5_4.2.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-42.el5_4.3.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-headers-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-devel-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: cpp = 4.1.2-46.el5_4.2 is needed by package gcc-4.1.2-46.el5_4.2.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-headers-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
==============================


Any ideas?

Thanks

Josh
[root@bldemo ~]# yum install gcc
Loaded plugins: fastestmirror, rhnplugin, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
--> Processing Dependency: libgomp >= 4.1.2-46.el5_4.2 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
---> Package glibc-devel.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc-headers = 2.5-42.el5_4.3 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package libgomp.x86_64 0:4.4.0-6.el5 set to be updated
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
---> Package glibc-devel.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: cpp = 4.1.2-46.el5_4.2 for package: gcc
---> Package glibc-devel.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-42.el5_4.3 set to be updated
--> Processing Dependency: glibc = 2.5-42.el5_4.3 for package: glibc-headers
---> Package kernel-headers.x86_64 0:2.6.18-164.15.1.el5 set to be updated
--> Finished Dependency Resolution
glibc-devel-2.5-42.el5_4.3.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-devel-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
gcc-4.1.2-46.el5_4.2.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: cpp = 4.1.2-46.el5_4.2 is needed by package gcc-4.1.2-46.el5_4.2.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-42.el5_4.3.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-headers-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-devel-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: cpp = 4.1.2-46.el5_4.2 is needed by package gcc-4.1.2-46.el5_4.2.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: glibc = 2.5-42.el5_4.3 is needed by package glibc-headers-2.5-42.el5_4.3.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Open in new window

JoshFinkAsked:
Who is Participating?
 
alienvoiceConnect With a Mentor Commented:
I've had nothing but issues with the beta testing with RHEL. Go back to stable!
0
 
AbhisekSanyalConnect With a Mentor Commented:
Hi,
   The yum error is that it is not able to find the glibc-2.5-42.el5_4.3 rpm and the cpp-4.1.2-46.el5_4.2 rpm, which is strange. As alienvoice suggested, going back to stable could be a good idea and could save you headaches later.
   However, there is a very good possibility that the Installation media that you used for installing RHEL 5 already has all the packages that you need.
   If that DVD contains the above mentioned glibc and cpp rpm, you can go ahead and install those rpm's manually. Then do a yum install for gcc (or again install it from the DVD).
   See if that works for you or not.
   
0
 
JoshFinkAuthor Commented:
Thanks.. I'll look into it when I get into the office today.

Josh
0
All Courses

From novice to tech pro — start learning today.