LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 12-29-2011, 02:47 AM   #1
chuikingman
Member
 
Registered: Aug 2009
Posts: 86

Rep: Reputation: 16
yum install gcc in Centos


Hi,

I use Centos 5.5 32 bit.

I already config yum to get the package from the CDrom that I mount in /media direcoty

That DVd is download from centos web site and supposed have all the rpm file..



I try below

=============

yum groupinstall "Development Libraries"



Development Libraries
glibc-headers-2.5-49.i386 from c5-media has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package glibc-headers-2.5-49.i386 (c5-media)
krb5-devel-1.6.1-36.el5_4.1.i386 from c5-media has depsolving problems
--> Missing Dependency: krb5-libs = 1.6.1-36.el5_4.1 is needed by package krb5-devel-1.6.1-36.el5_4.1.i386 (c5-media)
pcsc-lite-devel-1.4.4-1.el5.i386 from c5-media has depsolving problems
--> Missing Dependency: pcsc-lite-libs = 1.4.4-1.el5 is needed by package pcsc-lite-devel-1.4.4-1.el5.i386 (c5-media)
nss-devel-3.12.3.99.3-1.el5.centos.2.i386 from c5-media has depsolving problems
--> Missing Dependency: nss = 3.12.3.99.3-1.el5.centos.2 is needed by package nss-devel-3.12.3.99.3-1.el5.centos.2.i386 (c5-media)
openldap-devel-2.3.43-12.el5.i386 from c5-media has depsolving problems
--> Missing Dependency: openldap = 2.3.43-12.el5 is needed by package openldap-devel-2.3.43-12.el5.i386 (c5-media)
glibc-devel-2.5-49.i386 from c5-media has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package glibc-devel-2.5-49.i386 (c5-media)
nspr-devel-4.7.6-1.el5_4.i386 from c5-media has depsolving problems
--> Missing Dependency: nspr = 4.7.6-1.el5_4 is needed by package nspr-devel-4.7.6-1.el5_4.i386 (c5-media)
krb5-devel-1.6.1-36.el5_4.1.i386 from c5-media has depsolving problems
--> Missing Dependency: krb5-libs = 1.6.1-36.el5_4.1 is needed by package krb5-devel-1.6.1-36.el5_4.1.i386 (c5-media)
db4-devel-4.3.29-10.el5.i386 from c5-media has depsolving problems
--> Missing Dependency: db4 = 4.3.29-10.el5 is needed by package db4-devel-4.3.29-10.el5.i386 (c5-media)
Error: Missing Dependency: nspr = 4.7.6-1.el5_4 is needed by package nspr-devel-4.7.6-1.el5_4.i386 (c5-media)
Error: Missing Dependency: nss = 3.12.3.99.3-1.el5.centos.2 is needed by package nss-devel-3.12.3.99.3-1.el5.centos.2.i386 (c5-media)
Error: Missing Dependency: glibc = 2.5-49 is needed by package glibc-devel-2.5-49.i386 (c5-media)
Error: Missing Dependency: glibc = 2.5-49 is needed by package glibc-headers-2.5-49.i386 (c5-media)
Error: Missing Dependency: db4 = 4.3.29-10.el5 is needed by package db4-devel-4.3.29-10.el5.i386 (c5-media)
Error: Missing Dependency: krb5-libs = 1.6.1-36.el5_4.1 is needed by package krb5-devel-1.6.1-36.el5_4.1.i386 (c5-media)
Error: Missing Dependency: pcsc-lite-libs = 1.4.4-1.el5 is needed by package pcsc-lite-devel-1.4.4-1.el5.i386 (c5-media)
Error: Missing Dependency: openldap = 2.3.43-12.el5 is needed by package openldap-devel-2.3.43-12.el5.i386 (c5-media)
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


yum groupinstall "Development Tools"




Development Tools

--> Finished Dependency Resolution
glibc-devel-2.5-49.i386 from c5-media has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package glibc-devel-2.5-49.i386 (c5-media)
glibc-headers-2.5-49.i386 from c5-media has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package glibc-headers-2.5-49.i386 (c5-media)
Error: Missing Dependency: glibc = 2.5-49 is needed by package glibc-devel-2.5-49.i386 (c5-media)
Error: Missing Dependency: glibc = 2.5-49 is needed by package glibc-headers-2.5-49.i386 (c5-media)
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


yum install gcc



--> Finished Dependency Resolution
glibc-devel-2.5-49.i386 from c5-media has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package glibc-devel-2.5-49.i386 (c5-media)
glibc-headers-2.5-49.i386 from c5-media has depsolving problems
--> Missing Dependency: glibc = 2.5-49 is needed by package glibc-headers-2.5-49.i386 (c5-media)
Error: Missing Dependency: glibc = 2.5-49 is needed by package glibc-devel-2.5-49.i386 (c5-media)
Error: Missing Dependency: glibc = 2.5-49 is needed by package glibc-headers-2.5-49.i386 (c5-media)
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




I find I install gcc and it miss dependency but actually all the rpm already stored in dvd rom already.



Please advice how I can install the group package and gcc successfuly from dvd rom ...



Thank
 
Old 12-29-2011, 04:07 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

Have a look at this

Regards
 
Old 12-29-2011, 04:17 AM   #3
chuikingman
Member
 
Registered: Aug 2009
Posts: 86

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by bathory View Post
Hi,

Have a look at this

Regards
Hi,
I have already follow the insrcution ..
But I cannot use yum install gcc to install gcc successfuly ....
Please advice as it is still miss some dependencies but all the rpm file already be present in the DVD rom ....

Please advice ....
 
Old 12-29-2011, 04:50 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Doh, it should work.
Try to run
Code:
yum clean all
before installing, to clear any cached data.
 
Old 12-29-2011, 05:47 AM   #5
chuikingman
Member
 
Registered: Aug 2009
Posts: 86

Original Poster
Rep: Reputation: 16
I try " yum clean all" already.
The same result .
It is still miss the dependency when yum install gcc....


Please advice...
 
Old 12-29-2011, 01:52 PM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Well, I don't know what's wrong with your repo.
Maybe post #2 here could be of help.

Regards
 
Old 01-02-2012, 10:44 AM   #7
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 294

Rep: Reputation: 61
You would appear to have an incorrect version (as far as you repository is concerned) of glibc installed.
 
Old 01-02-2012, 04:41 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 13,518

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
the install dvd for cent5.5 is out of date ( centos 5.7 is current)
if ANY updates have been installed on that old version of cent then the install dvd IS incompatible with the os


but your error looks like a bug as i recall there was a 386 vs 686 but back in 5.? something - it might have been 5.5
the VERY first update was to fix the error on the dvd

plugin the computer to the net and upgrade to the current 5.7 ( and only sup0orted version in the 5 series )

that should fix the problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install gcc gcc-c++ nishamcp Linux - Newbie 3 12-26-2011 03:07 AM
Cant install Virtual machine in CentOS 6 Cannot find package qemu-kvm in yum install linux_rhca Linux - Newbie 4 10-19-2011 06:37 AM
Install GCC C Compiler without Yum djpme Linux - Newbie 5 03-31-2009 09:00 PM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-23-2008 12:51 AM
yum install gcc... nilrisi Linux - Newbie 4 07-27-2008 09:21 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration