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 :) |
Hi there,
Quote:
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 |
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 :-/ |
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 |
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 |
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 |
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. |
Hi there,
Quote:
Quote:
[X] Doc CPU |
Hi there,
Quote:
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 |
# 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. . |
All times are GMT -5. The time now is 12:03 AM. |