LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-18-2008, 09:23 AM   #1
rjs225
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Rep: Reputation: 0
Unhappy Assitance with yum install gcc-c++


Please assist me with instruction on how to install gcc-c++ I have been trying for 2 whole days. I have installed every package via yum that is necessary for Asterisk 1.4; but, when I try to install gcc-c++ it gives me a Metadata error each time. I am able to download gcc, which is also needed, but I am unsuccessful with the gcc-c++. PLEASE assist me, someone, anyone…I need this installation to work for my employer, or I will be toast, fried, and eaten alive.

Also, I am a Linux and Asterisk beginner so please be kind and gentle with me. I am JUST learning a few of the commands and have literally been only playing with them for less than 1 month. This Asterisk installation is part of a larger installation that involves working with IPv6 in an IP-to-IP network. BUT, it will not work at all without the Asterisk PBX. And, since we need to test with IPv6, I have to port Asterisk to IPv6, like ASAP or I am truly done.

Thank you to everyone and anyone who heeds my call,

RJS
 
Old 09-18-2008, 09:52 AM   #2
motsteve
LQ Newbie
 
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by rjs225 View Post
Please assist me with instruction on how to install gcc-c++ I have been trying for 2 whole days. I have installed every package via yum that is necessary for Asterisk 1.4; but, when I try to install gcc-c++ it gives me a Metadata error each time. I am able to download gcc, which is also needed, but I am unsuccessful with the gcc-c++.

RJS

I'm probably newer than you and all I can find is a g++ not gcc c++. Could it be that simple?
 
Old 09-18-2008, 09:58 AM   #3
rjs225
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy gcc-c++ error

Quote:
Originally Posted by motsteve View Post
I'm probably newer than you and all I can find is a g++ not gcc c++. Could it be that simple?
Thanks motsteve,

but I believe it is gcc-c++ I've seen enough info on the web and in text to support this...I am unsure of the metadata error however
 
Old 09-18-2008, 10:03 AM   #4
rjs225
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I believe it is related to "Metadata does not match checksum" error

Quote:
Originally Posted by rjs225 View Post
Thanks motsteve,

but I believe it is gcc-c++ I've seen enough info on the web and in text to support this...I am unsure of the metadata error however
I believe the following error is the root cause:

"Metadata file does not match checksum" error
 
Old 09-18-2008, 10:03 AM   #5
motsteve
LQ Newbie
 
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by rjs225 View Post
Thanks motsteve,

but I believe it is gcc-c++ I've seen enough info on the web and in text to support this...I am unsure of the metadata error however

I'm a brute force kind of guy. Did you just cut the error, paste it into the google window and hit the go button?
 
Old 09-18-2008, 10:06 AM   #6
rjs225
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Original Poster
Rep: Reputation: 0
metadata checksum error...i think?

Quote:
Originally Posted by motsteve View Post
I'm a brute force kind of guy. Did you just cut the error, paste it into the google window and hit the go button?
yes, and I still haven't found it yet as specific to what it means for my installation...I have seen articles/ threads, but either I'm slow, or it doesn't apply...working on it as we speak
 
Old 09-18-2008, 10:07 AM   #7
motsteve
LQ Newbie
 
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11

Rep: Reputation: 0
With an md5 you may just want to keep trying the install. Maybe it'll fetch from a mirror with a good file.
 
Old 09-18-2008, 10:09 AM   #8
rjs225
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Original Poster
Rep: Reputation: 0
metadata checksum error...i think?

Quote:
Originally Posted by motsteve View Post
With an md5 you may just want to keep trying the install. Maybe it'll fetch from a mirror with a good file.
ok, but it seems to keep trying the same mirror's time after time..are you saying it may switch to other mirrors?
 
Old 09-18-2008, 10:14 AM   #9
motsteve
LQ Newbie
 
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11

Rep: Reputation: 0
Well that checksum is getting hosed somewhere and I'm totally guessing as to how to get something with a good sum.
 
Old 08-11-2010, 02:11 PM   #10
apeto
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Unhappy installing asterisk

Hi, I'm having the same problem installing Asterisk on a Fedora 13 64 bit system. But the thing is that I'm following the same steps that I did with a Fedora 12 system some month ago and then everything went ok.

I can not install kernel-devel headers so I think this is the main problem. Without kernel-devel headers, gcc can not install.

rjs225, did you solve your problem.
Pleas write to me if you did. apeto2104@gmail.com
Thanks.
Albert.
 
Old 08-11-2010, 04:09 PM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
It's not a good idea to attempt to revive a really old thread. The entry preceding yours is dated 18 Sept. 2008.

However, the "metadata error" is often seen when you attempt to install from a repository that is being updated. To prevent inconsistencies, when a repository is updated, first the metadata is changed, and then the individual files.

The solution is to wait a while for the repositories to update. FYI: Fedora typically updates the repositories on Saturday and Tuesday, although that's not a rigid schedule.
 
Old 08-12-2010, 09:14 AM   #12
apeto
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Wink Im sorry...

I was not aware of the date of the post.
Please accept my apologies.
My problem is still there so I'll be checking this forum for a while.
Thanks anyway.
Albert.

Quote:
Originally Posted by PTrenholme View Post
It's not a good idea to attempt to revive a really old thread. The entry preceding yours is dated 18 Sept. 2008.

However, the "metadata error" is often seen when you attempt to install from a repository that is being updated. To prevent inconsistencies, when a repository is updated, first the metadata is changed, and then the individual files.

The solution is to wait a while for the repositories to update. FYI: Fedora typically updates the repositories on Saturday and Tuesday, although that's not a rigid schedule.
 
Old 08-12-2010, 09:20 AM   #13
apeto
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Question installing kernel-devel

What you are suggesting is to wait until de repositories are up to date ?
I'm trying to instal kernel-devel headers to compile Asterisk.
I run 'yum install kernel-devel' ( same way I did a couple of month ago
on a Fedora 12 system ) and the response is:
"Nothing to do."
And nothing is done... so, I should wait a week and try again ?
Thanks
Albert.

Quote:
Originally Posted by PTrenholme View Post
It's not a good idea to attempt to revive a really old thread. The entry preceding yours is dated 18 Sept. 2008.

However, the "metadata error" is often seen when you attempt to install from a repository that is being updated. To prevent inconsistencies, when a repository is updated, first the metadata is changed, and then the individual files.

The solution is to wait a while for the repositories to update. FYI: Fedora typically updates the repositories on Saturday and Tuesday, although that's not a rigid schedule.
 
Old 08-12-2010, 12:58 PM   #14
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by apeto View Post
What you are suggesting is to wait until de repositories are up to date ?
I'm trying to instal kernel-devel headers to compile Asterisk.
I run 'yum install kernel-devel' ( same way I did a couple of month ago
on a Fedora 12 system ) and the response is:
"Nothing to do."
And nothing is done... so, I should wait a week and try again ?
Thanks
Albert.
No, the "nothing to do" response is generated when the install objects are either not found or already installed. (Which of those conditions holds is displayed somewhere above the message.)

I'd suggest that you install the yumex package so you have a GUI front-end to yum, and enter "kernel" in the search box so you can see what you already have installed and what's available. You could also install the smart package manager as an alternative to yum, although the default configuration file for smart only points to the main Red Hat repositories so it can be quite slow. (I keep a copy on my system for those rare times when yum breaks of fails to resolve dependencies. smart is much better at resolving problems.)

If you have the kernel headers installed, check for the kernel-devel-`uname -r` file. You may need it in addition to the kernel-headers-`uname -r` file.

Your yum.log file should show something like this:
Code:
$ sudo grep -iE '(Jul|Aug).*kernel' /var/log/yum.log
Jul 11 08:19:18 Updated: kernel-headers-2.6.33.6-147.fc13.x86_64
Jul 11 08:20:23 Installed: kernel-devel-2.6.33.6-147.fc13.x86_64
Jul 11 08:20:44 Installed: kernel-2.6.33.6-147.fc13.x86_64
Jul 21 10:29:44 Updated: abrt-addon-kerneloops-1.1.1-2.fc13.x86_64
Aug 11 10:10:48 Installed: kernel-devel-2.6.33.6-147.2.4.fc13.x86_64
Aug 11 10:15:44 Updated: kernel-headers-2.6.33.6-147.2.4.fc13.x86_64
Aug 11 10:16:09 Installed: kernel-2.6.33.6-147.2.4.fc13.x86_64
Aug 11 10:19:05 Erased: kernel-firmware
 
  


Reply

Tags
checksum, metadata


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 for gcc-c++ doesn't work aagha Fedora 6 10-14-2010 09:46 AM
yum install gcc... nilrisi Linux - Newbie 4 07-27-2008 09:21 PM
Assitance Required sysinit.d Linux - Hardware 2 08-17-2006 06:54 AM
Request for Assitance - Partition Scheme and Dependencies WTFPWN Slackware 7 08-09-2006 11:34 PM
yum install gcc problem malibuguy Linux - Newbie 1 01-15-2005 06:11 PM

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

All times are GMT -5. The time now is 02:57 PM.

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
Open Source Consulting | Domain Registration