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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-18-2008, 09:23 AM
|
#1
|
LQ Newbie
Registered: Sep 2008
Posts: 5
Rep:
|
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
|
|
|
09-18-2008, 09:52 AM
|
#2
|
LQ Newbie
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11
Rep:
|
Quote:
Originally Posted by rjs225
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?
|
|
|
09-18-2008, 09:58 AM
|
#3
|
LQ Newbie
Registered: Sep 2008
Posts: 5
Original Poster
Rep:
|
gcc-c++ error
Quote:
Originally Posted by motsteve
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
|
|
|
09-18-2008, 10:03 AM
|
#4
|
LQ Newbie
Registered: Sep 2008
Posts: 5
Original Poster
Rep:
|
I believe it is related to "Metadata does not match checksum" error
Quote:
Originally Posted by rjs225
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
|
|
|
09-18-2008, 10:03 AM
|
#5
|
LQ Newbie
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11
Rep:
|
Quote:
Originally Posted by rjs225
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?
|
|
|
09-18-2008, 10:06 AM
|
#6
|
LQ Newbie
Registered: Sep 2008
Posts: 5
Original Poster
Rep:
|
metadata checksum error...i think?
Quote:
Originally Posted by motsteve
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
|
|
|
09-18-2008, 10:07 AM
|
#7
|
LQ Newbie
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11
Rep:
|
With an md5 you may just want to keep trying the install. Maybe it'll fetch from a mirror with a good file.
|
|
|
09-18-2008, 10:09 AM
|
#8
|
LQ Newbie
Registered: Sep 2008
Posts: 5
Original Poster
Rep:
|
metadata checksum error...i think?
Quote:
Originally Posted by motsteve
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?
|
|
|
09-18-2008, 10:14 AM
|
#9
|
LQ Newbie
Registered: May 2008
Location: Plantation, FL
Distribution: Fedora 9 Suse11PPC MacOS10.5.5
Posts: 11
Rep:
|
Well that checksum is getting hosed somewhere and I'm totally guessing as to how to get something with a good sum.
|
|
|
08-11-2010, 02:11 PM
|
#10
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
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.
|
|
|
08-11-2010, 04:09 PM
|
#11
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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.
|
|
|
08-12-2010, 09:14 AM
|
#12
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
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
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.
|
|
|
|
08-12-2010, 09:20 AM
|
#13
|
LQ Newbie
Registered: Aug 2010
Posts: 4
Rep:
|
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
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.
|
|
|
|
08-12-2010, 12:58 PM
|
#14
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
Quote:
Originally Posted by apeto
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
|
|
|
All times are GMT -5. The time now is 02:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|