Installing g++ on Ubuntu 10.04
Hello,
I have Ubuntu 10.04 LTS running in a Virtual Machine. I play this Virtual Machine in VMware.
The gcc installed is version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) [info obtained from the command: gcc-v]
I have been asked to install g++.
When I use the Synaptic Package Manager, and enter g++ in the "Quick search" box, a list of packages which are installed and NOT installed comes up. Assuming that all the packages will be needed, I select all the packages and click on "Apply".
I get the following error messages:-
//=====
E: Unable to correct missing packages
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
W: Failed to fetch http://
404 Not Found [IP: 91.189.88.149 80]
//=====
I suppose this is because Ubuntu 10.04 is no longer supported, so these packages are no longer available in the indicated repository.
So, I tried to uncheck the packages listed, and I got "Mark additional required changes" list. From there I have manually noted down the list of additional packages that are required ( Assuming that these are the dependencies for installing g++ on my system).
After that I individually downloaded the indicated packages (the .deb files) from www.launchpad.net and tried to run them in a random order.
Following are the packages I have downloaded ( list obtained by doing an 'ls' of the directory)
//=====
root@developer:
-------
binutils_
binutils_
binutils_
binutils_
cpp-4.1_
cpp-4.1_
cpp-4.3_
cpp-4.3_
cpp-4.3_
cpp-4.3-
cpp_4.4.
cpp-4.4_
cpp_4.6.
cpp_4.7.
debconf_
findutils_
findutils_
g++-4.1_
g++-4.1_
g++-4.1-
g++-4.3_
g++-4.3_
g++-4.3-
-------
root@developer:
//=====
Some of them installed; some of them gave me the "Dependencies NOT satisfied" message.
Also, now I am getting "Broken dependencies" error and "Conflicts with installed packages" message.
I have two questions:-
1. Is there a "particular order" in which I need to install the packages ? [Can anyone explain in detail what is happening and where I am going wrong? What are the basics I need to know ? ]
2. How do I fix the "Broken dependencies" error ? Will this create issues on using gcc for compiling the existing C codes ?
3. How do I resolve the issue of "Conflicts with installed packages" ? Will this create issues on using gcc for compiling the existing C codes ?
4. How do I get a working g++ without having to install latest version of Ubuntu (as I can not change the current installation of Ubuntu 10.04?
Any help is really appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- HC
- Solved:
- Last query:
- Last reply: