LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-11-2012, 11:41 AM   #1
sallyde
LQ Newbie
 
Registered: Jul 2012
Posts: 9
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 07-11-2012, 12:12 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by sallyde View Post
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?
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
 
Old 07-11-2012, 12:20 PM   #3
sallyde
LQ Newbie
 
Registered: Jul 2012
Posts: 9

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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.
 
Old 07-11-2012, 12:27 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
Old 07-11-2012, 12:34 PM   #5
sallyde
LQ Newbie
 
Registered: Jul 2012
Posts: 9

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 07-11-2012, 12:43 PM   #6
sallyde
LQ Newbie
 
Registered: Jul 2012
Posts: 9

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 07-11-2012, 01:06 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 07-11-2012, 03:37 PM   #8
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by sallyde View Post
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 View Post
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
 
Old 07-14-2012, 11:27 AM   #9
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by knudfl View Post
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
 
Old 07-14-2012, 11:42 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9

Well, it's the same for Debian, Fedora :
Old Deb http://www.debian.org/distrib/archive > http://archive.debian.net/
Old Fedora http://archives.fedoraproject.org/pu.../fedora/linux/

One difference from a supported version is :
It's a fixed mirror, no more mirror lists.

.
 
  


Reply


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
Open Office will not install on factory install of Ubuntu 8.04 LTS on Dell Mini 10 trekgirl Linux - Laptop and Netbook 6 08-01-2009 11:37 PM
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 07:27 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM

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

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

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