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.
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.
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 :-/
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. :-)
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 :-/
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
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
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
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 :-/
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.