[SOLVED] yum install gcc-c++ problem CentOS 5.4 x64

Issues related to software problems.

[SOLVED] yum install gcc-c++ problem CentOS 5.4 x64

Postby darrenj888 » 2010/04/09 02:23:57

There is error for install gcc-c++ below.
I try to search gcc-c++ rpm for CentOS, but I can't find it.
Is there any comment for this ?
Thanks!

===========================
yum install gcc-c++
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: mirror01.idc.hinet.net
* base: centos.ustc.edu.cn
* epel: ftp.jaist.ac.jp
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.1.2-46.el5_4.2 set to be updated
--> Processing Dependency: libstdc++ = 4.1.2-46.el5_4.2 for package: gcc-c++
--> Processing Dependency: libstdc++-devel = 4.1.2-46.el5_4.2 for package: gcc-c++
--> Running transaction check
---> Package libstdc++.i386 0:4.1.2-46.el5_4.2 set to be updated
---> Package libstdc++.x86_64 0:4.1.2-46.el5_4.2 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-46.el5_4.2 set to be updated
clusterlabs/filelists | 73 kB 00:00
http://www.clusterlabs.org/rpm/epel-5/r ... sts.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from clusterlabs: [Errno 256] No more mirrors to try.
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.
darrenj888
 
Posts: 2
Joined: 2010/04/09 02:17:08

Re: yum install gcc-c++ problem CentOS 5.4 x64

Postby chuina » 2010/04/09 10:00:42

Welcome to the [color=003300]CentOS[/color].

Required readings for all new members are FAQ & Readme First.
There is a How to Provide Information About Your System in the above FAQ & Readme First link. Read the instruction there and provide your yum configurations by running ./getinfo.sh package
chuina
 
Posts: 355
Joined: 2009/12/11 10:25:56

[SOLVED] yum install gcc-c++ problem CentOS 5.4 x64

Postby markkuk » 2010/04/09 11:34:43

darrenj888 wrote:

Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration

Check the contents of /etc/yum.repos.d and remove all duplicate repository definitions.

darrenj888 wrote:
http://www.clusterlabs.org/rpm/epel-5/r ... sts.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from clusterlabs: [Errno 256] No more mirrors to try.

This error is due to the server, you can either wait and hope that the server gets fixed or change your yum configuration to use a different server.
markkuk
 
Posts: 682
Joined: 2007/09/07 10:56:28
Location: Finland

Re: yum install gcc-c++ problem CentOS 5.4 x64

Postby darrenj888 » 2010/04/19 05:23:56

Dear ALL,

Thanks a lot for your reply.
The mirror site is working.
The issue is solved. :lol:
darrenj888
 
Posts: 2
Joined: 2010/04/09 02:17:08

Re: [SOLVED] yum install gcc-c++ problem CentOS 5.4 x64

Postby AlanBartlett » 2010/04/19 12:30:43

On the OP's behalf, this thread is now marked [SOLVED].
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 5 - Software Support

Who is online

Users browsing this forum: No registered users and 0 guests