LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2011, 10:30 AM   #1
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: Disabled
Unable to install gcc, gcc-++


Hello
I'm currently using Centos-5.5 and is x86_64. I want to install the c compilers gcc. But an error is showing.

--> Running transaction check
---> Package glibc.x86_64 0:2.5-49.el5_5.2 set to be updated
--> Processing Dependency: glibc-common = 2.5-49.el5_5.2 for package: glibc
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-49 for package: glibc
---> Package glibc-common.x86_64 0:2.5-49.el5_5.2 set to be updated
--> Finished Dependency Resolution
glibc-2.5-49.i686 from installed has depsolving problems
--> Missing Dependency: glibc-common = 2.5-49 is needed by package
glibc-2.5-49.i686 (installed)
Error: Missing Dependency: glibc-common = 2.5-49 is needed by package
glibc-2.5-49.i686 (installed)

Please someone help...
 
Old 05-26-2011, 10:48 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
what are you actually running for that output? on 64bit systems it's common to have installed i386 and x86_64 packages with a common dependency which is only being changed on one side. try upgrading both explicitly - "yum update glibc.i686 glibx.x86_64" and that will hopefully pull everything up inline.
 
Old 05-26-2011, 12:35 PM   #3
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Smile

Hai
I just tried to update all packages by using #yum update. But it only ends up in the another error.

xulrunner-1.9.2.17-3.el5.x86_64 from updates has depsolving problems
--> xulrunner conflicts with firefox
dbus-libs-1.1.2-14.el5.i386 from installed has depsolving problems
--> Missing Dependency: dbus = 1.1.2-14.el5 is needed by package dbus-libs-1.1.2-14.el5.i386 (installed)
mkinitrd-5.1.19.6-61.i386 from installed has depsolving problems
--> Missing Dependency: nash = 5.1.19.6-61 is needed by package mkinitrd-5.1.19.6-61.i386 (installed)
glibc-2.5-49.i686 from installed has depsolving problems
--> Missing Dependency: glibc-common = 2.5-49 is needed by package glibc-2.5-49.i686 (installed)
Error: Missing Dependency: nash = 5.1.19.6-61 is needed by package mkinitrd-5.1.19.6-61.i386 (installed)
Error: Missing Dependency: glibc-common = 2.5-49 is needed by package glibc-2.5-49.i686 (installed)
Error: xulrunner conflicts with firefox
Error: Missing Dependency: dbus = 1.1.2-14.el5 is needed by package dbus-libs-1.1.2-14.el5.i386 (installed)
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
The program package-cleanup is found in the yum-utils package

Hope some one can provide some help........
 
Old 05-27-2011, 12:04 AM   #4
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy

Hai Chris
I did what you have said.
[root@localhost ~]# yum update glibc.i686 glibx.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.hns.net.in
* base: mirrors.hns.net.in
* epel: mirror01.idc.hinet.net
* extras: mirrors.hns.net.in
* remi: iut-info.univ-reims.fr
* updates: mirrors.hns.net.in
Excluding Packages in global exclude list
Finished
Setting up Update Process
No Match for argument: glibx.x86_64
No package glibx.x86_64 available.
No Packages marked for Update
Could you please help..
 
Old 05-27-2011, 01:44 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
ahh cmon that was clearly a typo! glibc.
 
Old 05-27-2011, 01:54 AM   #6
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy

Hello
When I try to install glibc. I get the following error
[root@localhost Desktop]# rpm -ivh glibc-2.5-58.x86_64.rpm
error: Failed dependencies:
glibc-common = 2.5-58 is needed by glibc-2.5-58.x86_64
[root@localhost Desktop]# rpm -Uvh glibc-2.5-58.x86_64.rpm
error: Failed dependencies:
glibc-common = 2.5-58 is needed by glibc-2.5-58.x86_64

Last edited by ameer.; 05-27-2011 at 01:59 AM. Reason: Addition
 
Old 05-27-2011, 02:02 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
don't install rpm;s that way, use rpm.
 
Old 05-27-2011, 03:37 AM   #8
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Question

Hello Chris
I have downloaded the packages glibc but not able to install via shell or gui. I didn't understand what you have said in the earlier post. Could you please explain a bit more..
 
Old 05-27-2011, 03:58 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
[root@localhost ~]# yum update glibc.i686 glibc.x86_64
 
Old 05-27-2011, 04:03 AM   #10
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Question

Hai
I have given the command you have said. The error is as follows
[root@localhost ~]# yum update glibc.i686 glibc.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.hns.net.in
* base: mirrors.hns.net.in
* epel: mirror01.idc.hinet.net
* extras: mirrors.hns.net.in
* remi: iut-info.univ-reims.fr
* updates: mirrors.hns.net.in
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.5-58.el5_6.3 set to be updated
--> Processing Dependency: glibc-common = 2.5-58.el5_6.3 for package: glibc
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-49 for package: glibc
---> Package glibc-common.x86_64 0:2.5-58.el5_6.3 set to be updated
--> Finished Dependency Resolution
glibc-2.5-49.i686 from installed has depsolving problems
--> Missing Dependency: glibc-common = 2.5-49 is needed by package glibc-2.5-49.i686 (installed)
Error: Missing Dependency: glibc-common = 2.5-49 is needed by package glibc-2.5-49.i686 (installed)
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
 
Old 05-27-2011, 04:50 AM   #11
ameer.
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thumbs up

I have got some success. I have removed glibc-common-2.5-49.x86_64 and installed glibc-common-2.5-49.x86_64. Thanks for your immediate response.
 
  


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
Unable to install GCC ???????? steelwire Linux - Newbie 10 04-24-2009 01:40 AM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-22-2008 11:51 PM
unable to install gcc-2.96 vijaysh Debian 5 01-02-2005 07:41 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Unable to install GCC from tar NRHBasher Red Hat 2 03-11-2004 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration