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.
|
|
07-11-2012, 11:41 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 9
Rep:
|
install g++
Hi All,
I'm trying to install g++ on my Ubuntu 9.10 \n \l
I used this command : apt-get install build-essential
and this command : apt-get install g++
and i got the error that follows in both situations and when i used g++ --version to see if g++ installed or not is said that it is not installed :-/
error :
Err http://ie.archive.ubuntu.com karmic-updates/main libstdc++6-4.4-dev 4.4.1-4ubuntu9
404 Not Found
Err http://security.ubuntu.com karmic-security/main libstdc++6-4.4-dev 4.4.1-4ubuntu9
404 Not Found [IP: 91.189.92.184 80]
Err http://ie.archive.ubuntu.com karmic/main g++ 4:4.4.1-1ubuntu2
404 Not Found
Err http://security.ubuntu.com karmic-security/main g++-4.4 4.4.1-4ubuntu9
404 Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/po...ntu9_amd64.deb 404 Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/po...ntu9_amd64.deb 404 Not Found [IP: 91.189.92.184 80]
Failed to fetch http://ie.archive.ubuntu.com/ubuntu/...ntu2_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
i also tried apt-get update and apt-get install build-essential --fix-missing and apt-get install g++ --fix-missing but none of them worked :-/
any idea?
thanks in advance
|
|
|
07-11-2012, 12:12 PM
|
#2
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by sallyde
|
actually, you're a bit late. Support for Ubuntu 9.10 "Karmic" has run out long ago, and the software repositories for it aren't present any longer.
Are you sure you don't like to upgrade to a more recent version? For instance, 10.04 "Lucid" would be an LTS which is supported until spring of 2013.
You may be lucky and find the required package as a .deb file for download somewhere, so that you can install it manually.
However, I'd favor a system upgrade from scratch - and then keep it up to date while it is still being supported. :-)
[X] Doc CPU
|
|
|
07-11-2012, 12:20 PM
|
#3
|
LQ Newbie
Registered: Jul 2012
Posts: 9
Original Poster
Rep:
|
well, i think it is better to upgarde to the newer version. so how i should upgared my OS?
i tried to install the update-manager-core package using sudo apt-get install update-manager-core and it even stuck with the same error :-/
Last edited by sallyde; 07-11-2012 at 12:24 PM.
|
|
|
07-11-2012, 12:27 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Welcome to LQ.
Getting 'apt-get install g++' etc. working on "Ubuntu 9.10 unsupported" :
Please replace the /etc/apt/sources.list text with this :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted
deb http://old-releases.ubuntu.com/ubuntu/ karmic multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ karmic-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security multiverse universe
|
|
|
07-11-2012, 12:34 PM
|
#5
|
LQ Newbie
Registered: Jul 2012
Posts: 9
Original Poster
Rep:
|
Hi, thanks butit didn't work. i replaced my /etc/apt/sources.list file with this newer version :-/ but still it doesn't work. the error changed to
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package g
|
|
|
07-11-2012, 12:43 PM
|
#6
|
LQ Newbie
Registered: Jul 2012
Posts: 9
Original Poster
Rep:
|
I see, thanks, first i should used apt-get install update and then apt-get install g++ and now it works should i replace /etc/apt/sources.list with the previous versoin after installing g++ or not?
thanks
|
|
|
07-11-2012, 01:06 PM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Your original /etc/apt/sources.list points to current Ubuntu links.
Ubuntu 9.10 was moved to "The Ubuntu museum" / "The old archive"
long time ago, and stays there.
The original links can never be used again.
|
|
|
07-11-2012, 03:37 PM
|
#8
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by sallyde
well, i think it is better to upgarde to the newer version. so how i should upgared my OS?
|
I recommend you to first back up your personal data, then download an ISO image of a recent distro like Ubuntu 12.04 (or why not try Mint?), burn it to a CD, and finally wipe your HDD and reinstall your system from that CD. Then restore your personal files.
Quote:
Originally Posted by sallyde
i tried to install the update-manager-core package using sudo apt-get install update-manager-core and it even stuck with the same error :-/
|
Of course it did. It's out of date.
[X] Doc CPU
|
|
|
07-14-2012, 11:27 AM
|
#9
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by knudfl
Ubuntu 9.10 was moved to "The Ubuntu museum" / "The old archive"
long time ago, and stays there.
The original links can never be used again.
|
no doubt you're right.
However, I don't understand why the Ubuntu guys do that. If they still keep the original lists under a "special" URL ... I mean, wouldn't it make more sense to leave them where they always were, and just not update them any more? Or even better, supply one final update of update-manager that reminds the user of the outdated system every time it boots?
That way, users who deliberately keep an old system alive can at least install additional packages that match their old system.
I was annoyed of that behavior, too, when "Jaunty" ran out. Each time I booted my old Jaunty box, update-manager popped up and told me "Your system is up to date". That was nonsense, of course, but update-manager couldn't get any more recent repos, so it thought everything was fine. Only when I tried to install some package, I ran into the same trouble as sallyde.
[X] Doc CPU
|
|
|
All times are GMT -5. The time now is 02:57 AM.
|
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
|
|