- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: yum install gcc issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 03:02 PM
тАО02-13-2009 03:02 PM
[root@odccdds01 ~]# /usr/bin/yum install gcc
Loaded plugins: rhnplugin, security
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-headers = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-24.el5_2.2 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Running transaction check
---> Package glibc.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-24.el5_2.2 for package: glibc
---> Package glibc-headers.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Running transaction check
---> Package glibc.i386 0:2.5-24.el5_2.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-24.el5_2.2 for package: glibc
---> Package kernel-headers.i386 0:2.6.18-92.1.22.el5 set to be updated
---> Package gcc.i386 0:4.1.2-42.el5 set to be updated
--> Processing Dependency: libgomp = 4.1.2-42.el5 for package: gcc
--> Processing Dependency: cpp = 4.1.2-42.el5 for package: gcc
--> Finished Dependency Resolution
glibc-2.5-24.el5_2.2.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: glibc-common = 2.5-24.el5_2.2 is needed by package glibc-2.5-24.el5_2.2.i386 (rhel-i386-server-5)
gcc-4.1.2-42.el5.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: libgomp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
gcc-4.1.2-42.el5.i386 from rhel-i386-server-5 has depsolving problems
--> Missing Dependency: cpp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
Error: Missing Dependency: glibc-common = 2.5-24.el5_2.2 is needed by package glibc-2.5-24.el5_2.2.i386 (rhel-i386-server-5)
Error: Missing Dependency: cpp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
Error: Missing Dependency: libgomp = 4.1.2-42.el5 is needed by package gcc-4.1.2-42.el5.i386 (rhel-i386-server-5)
[root@odccdds01 ~]#
If I try to install what dependencies it says it's missing, it tells me they are already installed....
Not sure where to go from here to get gcc installed, any assistance would be appreciated....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 03:02 AM
тАО02-15-2009 03:02 AM
SolutionThere is a problem with the dependency database that yum is using.
I've seen this happen from a number of causes.
Normally its comes from a third party product installed that is complicating dependency calculations.
It is not likely a problem with gcc itself.
Best way around this is to uninstall some of these dependencies its confused about or go carefully through the output and remove the third party rpm triggering the problem.
After uninstall, re-install will be handled by yum.
yum clean all
Sometimes helps.
yum is supposed to solve these problems but every once in a while gets a bit confused.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 05:41 AM
тАО02-15-2009 05:41 AM
Re: yum install gcc issue
Yum can get confused about versions and dependencies because packages can be installed from several repositories, and this can in turn cause depency failures.
First try running a "yum -y update" to ensure you have all the latest packages installed. Next install "yumex" the graphical version of Yum (yum -y yumex) and try searching for the missing depencies by name. If none of this helps visit sites such as "http://rpmfind.net/" and try searching for these specific packages and see if you can individually install these prereqs. If you manage this then try to re-install gcc.
Another slightly more risky approach is to see if you already have newer/different versions of the prereqs installed is to use the "rpm -Uvh --nodeps" or "--force" to install gcc. WARNING THIS IS RISKY AND CAN BRAKE YOUR SYSTEM.
Finally download all the packages individually and experiment with manually installing packages using "rpm -Uvh" e.g.
rpm -Uvh ./x ./y ./z
as this can sometimes satisfy the prereqs.
Good luck,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 06:06 AM
тАО02-16-2009 06:06 AM
Re: yum install gcc issue
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 08:07 PM
тАО09-23-2009 08:07 PM
Re: yum install gcc issue
I seem to have the same problem.
Could you please let me know what you worked out was the root of the problem and what you did to fix it.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2009 03:48 AM
тАО09-30-2009 03:48 AM
Re: yum install gcc issue
I removed the rpm that was failing the upgrade, and dependencies.. Then installed as new install and it pulled in dependencies and loaded clean..