Linux - NewbieThis 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.
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,
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?
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
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.
It's not a good idea to attempt to revive a reallyold 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.
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 reallyold 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.
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 reallyold 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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.