Installing g++ on Ubuntu 10.04

Asked by HC

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://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/g++-4.4_4.4.3-4ubuntu5_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/gcc-4.1-base_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/cpp-4.1_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/gcc-4.3-base_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/cpp-4.3_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/g++_4.4.3-1ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/gcc-4.1_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/libstdc++6-4.1-dev_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/g++-4.1_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-amd64_2.11.1-0ubuntu7_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev-amd64_2.11.1-0ubuntu7_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/lib64gcc1_4.4.3-4ubuntu5_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/gcc-4.1-multilib_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/lib64stdc++6_4.4.3-4ubuntu5_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/g++-4.1-multilib_4.1.2-27ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/gcc-4.3_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/libstdc++6-4.3-dev_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/g++-4.3_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/gcc-4.3-multilib_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/g++-4.3-multilib_4.3.4-10ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/lib64gomp1_4.4.3-4ubuntu5_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4-multilib_4.4.3-4ubuntu5_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/g++-4.4-multilib_4.4.3-4ubuntu5_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/g++-multilib_4.4.3-1ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.1/gcc-4.1-doc_4.1.2-27ubuntu1_all.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.3/gcc-4.3-doc_4.3.4-10ubuntu1_all.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4-doc_4.4.3-4ubuntu5_all.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/gcc-doc_4.4.3-1ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/gcc-multilib_4.4.3-1ubuntu1_i386.deb
  404 Not Found [IP: 91.189.88.149 80]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/h/hardening-wrapper/hardening-wrapper_1.25_i386.deb
  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:~/Software/g++ installation# ls
--------------------------------------------------------------------
binutils_2.18.1~cvs20080103-0ubuntu1_i386.deb g++_4.4.3-1ubuntu1_i386.deb gcc_4.6.3-1ubuntu5_i386.deb libc6_2.15-0ubuntu10.18_i386.deb libgomp1_4.4.3-4ubuntu5.1_i386.deb
binutils_2.19.1-0ubuntu3_i386.deb g++-4.4_4.4.3-4ubuntu5.1_i386.deb gcc-4.6_4.6.3-1ubuntu5_i386.deb libc6_2.24-9ubuntu2.2_i386.deb libgomp1_4.5.1-7ubuntu2_i386.deb
binutils_2.20.1-3ubuntu7.3_i386.deb g++-4.4_4.4.3-4ubuntu5_i386.deb gcc-4.6-base_4.6.3-1ubuntu5_i386.deb libc6_2.7-10ubuntu8.3_i386.deb libmpc2_0.9-4_i386.deb
binutils_2.20.51.20100908-0ubuntu2_i386.deb g++-4.4-multilib_4.4.3-4ubuntu5.1_i386.deb gcc-4.6-multilib_4.6.3-1ubuntu5_i386.deb libc6_2.9-4ubuntu6.3_i386.deb libmpfr1ldbl_2.4.0-1ubuntu3.1_i386.deb
cpp-4.1_4.1.2-21ubuntu1_i386.deb gcc-4.1_4.1.2-21ubuntu1_i386.deb gcc-6-base_6.3.0-12ubuntu2_i386.deb libc6-amd64_2.11.1-0ubuntu7.21_i386.deb libmpfr4_3.1.0-3ubuntu2_i386.deb
cpp-4.1_4.1.2-29ubuntu1_i386.deb gcc-4.1_4.1.2-27ubuntu1_i386.deb gcc-multilib_4.6.3-1ubuntu5_i386.deb libc6-amd64_2.12.1-0ubuntu10.4_i386.deb libquadmath0_4.6.3-1ubuntu5_i386.deb
cpp-4.3_4.3.3-5ubuntu4_i386.deb gcc-4.1-base_4.1.2-21ubuntu1_i386.deb g++-multilib_4.4.3-1ubuntu1_i386.deb libc6-amd64_2.15-0ubuntu10.18_i386.deb libstdc++6-4.1-dbg_4.1.2-27ubuntu1_i386.deb
cpp-4.3_4.3.4-10ubuntu1_i386.deb gcc-4.1-base_4.1.2-27ubuntu1_i386.deb hardening-wrapper_1.25_i386.deb libc6-amd64_2.24-9ubuntu2.2_i386.deb libstdc++6-4.1-dev_4.1.2-21ubuntu1_i386.deb
cpp-4.3_4.3.5-3ubuntu1_i386.deb gcc-4.1-base_4.1.2-29ubuntu1_i386.deb lib64gcc1_4.2.4-1ubuntu4_i386.deb libc6-dev_2.11.1-0ubuntu7.21_i386.deb libstdc++6-4.1-dev_4.1.2-27ubuntu1_i386.deb
cpp-4.3-mips-linux-gnu_4.3.5-4_i386.deb gcc-4.1-multilib_4.1.2-21ubuntu1_i386.deb lib64gcc1_4.4.3-4ubuntu5.1_i386.deb libc6-dev_2.7-10ubuntu8.3_i386.deb libstdc++6_4.2.4-1ubuntu4_i386.deb
cpp_4.4.3-1ubuntu1_i386.deb gcc-4.2-base_4.2.4-1ubuntu4_i386.deb lib64gcc1_4.5.1-7ubuntu2_i386.deb libc6-dev-amd64_2.11.1-0ubuntu7.21_i386.deb libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb
cpp-4.4_4.4.3-4ubuntu5.1_i386.deb gcc-4.3_4.3.3-5ubuntu4_i386.deb lib64gcc1_4.6.3-1ubuntu5_i386.deb libc6-dev-amd64_2.12.1-0ubuntu10.4_i386.deb libstdc++6-4.3-dev_4.3.4-10ubuntu1_i386.deb
cpp_4.6.3-1ubuntu5_i386.deb gcc-4.3_4.3.4-10ubuntu1_i386.deb lib64gcc1_6.3.0-12ubuntu2_i386.deb libc6-dev-amd64_2.15-0ubuntu10.18_i386.deb libstdc++6-4.4-dev_4.4.3-4ubuntu5_i386.deb
cpp_4.7.2-1_i386.deb gcc-4.3-base_4.3.3-5ubuntu4_i386.deb lib64gomp1_4.4.3-4ubuntu5.1_i386.deb libc-bin_2.11.1-0ubuntu7.21_i386.deb mlocate_0.21.1-1ubuntu1_i386.deb
debconf_1.5.28ubuntu4_all.deb gcc-4.3-base_4.3.4-10ubuntu1_i386.deb lib64gomp1_4.6.3-1ubuntu5_i386.deb libc-dev-bin_2.11.1-0ubuntu7.21_i386.deb pentium-builder_0.19_all.deb
findutils_4.4.0-2ubuntu4_i386.deb gcc-4.3-base_4.3.5-3ubuntu1_i386.deb lib64quadmath0_4.6.3-1ubuntu5_i386.deb libgcc1_4.2.4-1ubuntu4_i386.deb tzdata_2015d-0ubuntu0.10.04_all.deb
findutils_4.4.2-1ubuntu1_i386.deb gcc-4.3-locales_4.3.4-10ubuntu1_all.deb lib64stdc++6-4.1-dbg_4.1.2-17ubuntu1_i386.deb libgcc1_4.3.3-5ubuntu4_i386.deb zlib1g_1.2.3.3.dfsg-12ubuntu2_i386.deb
g++-4.1_4.1.2-21ubuntu1_i386.deb gcc-4.3-multilib_4.3.5-3ubuntu1_i386.deb lib64stdc++6_4.2.4-1ubuntu4_i386.deb libgcc1_4.4.3-4ubuntu5.1_i386.deb zlib1g_1.2.3.3.dfsg-15ubuntu1_i386.deb
g++-4.1_4.1.2-27ubuntu1_i386.deb gcc_4.4.3-1ubuntu1_i386.deb lib64stdc++6_4.4.3-4ubuntu5.1_i386.deb libgcc1_4.5.1-7ubuntu2_i386.deb zlib1g_1.2.3.4.dfsg-3ubuntu4_i386.deb
g++-4.1-multilib_4.1.2-27ubuntu1lucid1_i386.deb gcc-4.4_4.4.3-4ubuntu5.1_i386.deb lib64stdc++6_4.4.3-4ubuntu5_i386.deb libgcc1_6.3.0-12ubuntu2_i386.deb
g++-4.3_4.3.3-5ubuntu4_i386.deb gcc-4.4-base_4.4.3-4ubuntu5.1_i386.deb libc6_2.10.1-0ubuntu19_i386.deb libgmp10_5.0.2+dfsg-2ubuntu1_i386.deb
g++-4.3_4.3.4-10ubuntu1_i386.deb gcc-4.4-multilib_4.4.3-4ubuntu5.1_i386.deb libc6_2.11.1-0ubuntu7.21_i386.deb libgmp3c2_4.2.4+dfsg-2ubuntu1_i386.deb
g++-4.3-multilib_4.3.4-10ubuntu1_i386.deb gcc-4.5-base_4.5.1-7ubuntu2_i386.deb libc6_2.12.1-0ubuntu10.4_i386.deb libgomp1_4.3.3-5ubuntu4_i386.deb
----------------------------------------------------------------
root@developer:~/Software/g++ installation#
//==================================================================================================

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:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Ubuntu 10.04 is no longer supported in any way. It is EOL and long gone.

What you are doing is like searching for Windows updates for Windows 98.

They don't exist

Revision history for this message
HC (hitcha) said :
#2

Dear actionparsnip,

I agree with you that 10.04 is no longer supported; but I don't have any choice. I am supposed to install g++ on Ubuntu 10.04.

Moreover, since all the packages are available and have been downloaded, isn't the only problem that I need to install them in a proper order ?

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

We cannot support dead releases and there are no packages for Lucid. It's that simple.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

There is a special repository server http://old-releases.ubuntu.com/ubuntu with a limited amount of packages for obsolete Ubuntu releases. You could try using that one. Eventually you have to restart from scratch to get the package management system into a consistent state.

Your question about the sequence of installing the .deb files: There are some cases where package a depends on b and b depends on a. These packages can only be installed when they are installed with one single command (or if you instruct the package management system to install a package despite missing dependencies).
The dpkg --install command allows adding several packages as parameter for installation together.

And just to repeat what I have already written in https://answers.launchpad.net/ubuntu/+question/644290
Ubuntu 10.04 is in "end of life" status since April 2015. There were no corrections and bug fixes published any more since that time, and any installation might be unprotected against all the vulnerabilities that have been detected recently (shellshock, heartbleed, poodle ...)

Revision history for this message
HC (hitcha) said :
#5

Dear Manfred,

Greetings.

>>
First of all, Thanks A LOT for responding with detailed explanation to my questions.

A>>
I would like you to know that this is the first time I am dealing with installing packages on Ubuntu.
//-------------------------------------------------------------------------------------------------------------------------------------------------

B>>
When you say "Eventually you have to restart from scratch to get the package management system into a consistent state", can you please describe the correct sequence to follow to make the system consistent ?
//-------------------------------------------------------------------------------------------------------------------------------------------------

C>>
I understand when you say:-
" Ubuntu 10.04 is in "end of life" status since April 2015. There were no corrections and bug fixes published any more since that time, and any installation might be unprotected against all the vulnerabilities that have been detected recently (shellshock, heartbleed, poodle ...) " ..

However, the system installed at my workplace is still using Ubuntu 10.04. And they don't want to upgrade to Ubuntu 16 yet.

So you see I m stuck; I don't have a choice.
//-------------------------------------------------------------------------------------------------------------------------------------------------

D>>
I will try to go through the repository you mentioned:-
 http://old-releases.ubuntu.com/ubuntu
The existing directories available at the above link are:-
[DIR] dists/ 2017-06-22 02:48 -
[DIR] indices/ 2008-04-28 17:47 -
[ ] ls-lR.gz 2008-04-28 16:05 4.5M
[DIR] pool/ 2008-01-14 22:05 -
[DIR] project/ 2013-06-28 11:52 -
Can you indicate which of the directories I need to look in ?
(I am not being lazy, but need guidance, so I ask you this)
//-------------------------------------------------------------------------------------------------------------------------------------------------

E>>
Also as stated by "actionparsnip" that
"We cannot support dead releases and there are no packages for Lucid. It's that simple.",
then how come the following packages are available for download at www.launchpad.net ? And why does Synaptic Package Manager suggests to install them OR suggests them as dependencies ?

binutils_2.18.1~cvs20080103-0ubuntu1_i386.deb
binutils_2.19.1-0ubuntu3_i386.deb
binutils_2.20.1-3ubuntu7.3_i386.deb
binutils_2.20.51.20100908-0ubuntu2_i386.deb
cpp_4.4.3-1ubuntu1_i386.deb
cpp-4.4_4.4.3-4ubuntu5.1_i386.deb
debconf_1.5.28ubuntu4_all.deb
findutils_4.4.0-2ubuntu4_i386.deb
findutils_4.4.2-1ubuntu1_i386.deb
gcc-4.1-base_4.1.2-21ubuntu1_i386.deb
gcc-4.1-base_4.1.2-27ubuntu1_i386.deb
gcc-4.1-base_4.1.2-29ubuntu1_i386.deb
gcc-4.2-base_4.2.4-1ubuntu4_i386.deb
gcc-4.3-base_4.3.3-5ubuntu4_i386.deb
gcc-4.3-base_4.3.4-10ubuntu1_i386.deb
gcc-4.3-base_4.3.5-3ubuntu1_i386.deb
gcc_4.4.3-1ubuntu1_i386.deb
gcc-4.4-base_4.4.3-4ubuntu5.1_i386.deb
gcc-4.5-base_4.5.1-7ubuntu2_i386.deb
gcc-4.6-base_4.6.3-1ubuntu5_i386.deb
hardening-wrapper_1.25_i386.deb
libc6_2.10.1-0ubuntu19_i386.deb
libc6_2.11.1-0ubuntu7.21_i386.deb
libc6_2.7-10ubuntu8.3_i386.deb
libc6_2.9-4ubuntu6.3_i386.deb
libc6-dev_2.7-10ubuntu8.3_i386.deb
libc-bin_2.11.1-0ubuntu7.21_i386.deb
libc-dev-bin_2.11.1-0ubuntu7.21_i386.deb
libgcc1_4.2.4-1ubuntu4_i386.deb
libgcc1_4.3.3-5ubuntu4_i386.deb
libgmp3c2_4.2.4+dfsg-2ubuntu1_i386.deb
libgomp1_4.3.3-5ubuntu4_i386.deb
libmpfr1ldbl_2.4.0-1ubuntu3.1_i386.deb
libstdc++6_4.2.4-1ubuntu4_i386.deb
mlocate_0.21.1-1ubuntu1_i386.deb
pentium-builder_0.19_all.deb
tzdata_2015d-0ubuntu0.10.04_all.deb
zlib1g_1.2.3.3.dfsg-12ubuntu2_i386.deb
zlib1g_1.2.3.3.dfsg-15ubuntu1_i386.deb
zlib1g_1.2.3.4.dfsg-3ubuntu4_i386.deb
cpp-4.1_4.1.2-21ubuntu1_i386.deb
cpp-4.1_4.1.2-29ubuntu1_i386.deb
cpp-4.3_4.3.3-5ubuntu4_i386.deb
cpp-4.3_4.3.4-10ubuntu1_i386.deb
cpp-4.3_4.3.5-3ubuntu1_i386.deb
cpp-4.3-mips-linux-gnu_4.3.5-4_i386.deb
cpp_4.6.3-1ubuntu5_i386.deb
cpp_4.7.2-1_i386.deb
g++-4.1_4.1.2-21ubuntu1_i386.deb
g++-4.1_4.1.2-27ubuntu1_i386.deb
g++-4.1-multilib_4.1.2-27ubuntu1lucid1_i386.deb
g++-4.3_4.3.3-5ubuntu4_i386.deb
g++-4.3_4.3.4-10ubuntu1_i386.deb
g++-4.3-multilib_4.3.4-10ubuntu1_i386.deb
g++-4.4_4.4.3-4ubuntu5.1_i386.deb
g++-4.4_4.4.3-4ubuntu5_i386.deb
g++-4.4-multilib_4.4.3-4ubuntu5.1_i386.deb
gcc-4.1_4.1.2-21ubuntu1_i386.deb
gcc-4.1_4.1.2-27ubuntu1_i386.deb
gcc-4.1-multilib_4.1.2-21ubuntu1_i386.deb
gcc-4.3_4.3.3-5ubuntu4_i386.deb
gcc-4.3_4.3.4-10ubuntu1_i386.deb
gcc-4.3-locales_4.3.4-10ubuntu1_all.deb
gcc-4.3-multilib_4.3.5-3ubuntu1_i386.deb
gcc-4.4_4.4.3-4ubuntu5.1_i386.deb
gcc-4.4-multilib_4.4.3-4ubuntu5.1_i386.deb
gcc_4.6.3-1ubuntu5_i386.deb
gcc-4.6_4.6.3-1ubuntu5_i386.deb
gcc-4.6-multilib_4.6.3-1ubuntu5_i386.deb
gcc-6-base_6.3.0-12ubuntu2_i386.deb
gcc-multilib_4.6.3-1ubuntu5_i386.deb
g++-multilib_4.4.3-1ubuntu1_i386.deb
lib64gcc1_4.2.4-1ubuntu4_i386.deb
lib64gcc1_4.4.3-4ubuntu5.1_i386.deb
lib64gcc1_4.5.1-7ubuntu2_i386.deb
lib64gcc1_4.6.3-1ubuntu5_i386.deb
lib64gcc1_6.3.0-12ubuntu2_i386.deb
lib64gomp1_4.4.3-4ubuntu5.1_i386.deb
lib64gomp1_4.6.3-1ubuntu5_i386.deb
lib64quadmath0_4.6.3-1ubuntu5_i386.deb
lib64stdc++6-4.1-dbg_4.1.2-17ubuntu1_i386.deb
lib64stdc++6_4.2.4-1ubuntu4_i386.deb
lib64stdc++6_4.4.3-4ubuntu5.1_i386.deb
libc6_2.24-9ubuntu2.2_i386.deb
libc6-amd64_2.11.1-0ubuntu7.21_i386.deb
libc6-amd64_2.12.1-0ubuntu10.4_i386.deb
libc6-amd64_2.15-0ubuntu10.18_i386.deb
libc6-amd64_2.24-9ubuntu2.2_i386.deb
libc6-dev_2.11.1-0ubuntu7.21_i386.deb
libc6-dev-amd64_2.11.1-0ubuntu7.21_i386.deb
libc6-dev-amd64_2.12.1-0ubuntu10.4_i386.deb
libc6-dev-amd64_2.15-0ubuntu10.18_i386.deb
libgcc1_4.4.3-4ubuntu5.1_i386.deb
libgcc1_4.5.1-7ubuntu2_i386.deb
libgcc1_6.3.0-12ubuntu2_i386.deb
libgmp10_5.0.2+dfsg-2ubuntu1_i386.deb
libgomp1_4.4.3-4ubuntu5.1_i386.deb
libgomp1_4.5.1-7ubuntu2_i386.deb
libmpc2_0.9-4_i386.deb
libmpfr4_3.1.0-3ubuntu2_i386.deb
libquadmath0_4.6.3-1ubuntu5_i386.deb
libstdc++6-4.1-dbg_4.1.2-27ubuntu1_i386.deb
libstdc++6-4.1-dev_4.1.2-21ubuntu1_i386.deb
libstdc++6-4.1-dev_4.1.2-27ubuntu1_i386.deb
libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb
libstdc++6-4.3-dev_4.3.4-10ubuntu1_i386.deb
libstdc++6-4.4-dev_4.4.3-4ubuntu5_i386.deb
//-------------------------------------------------------------------------------------------------------------------------------------------------

I hope you will guide me through this issue in the best possible manner.

Thanking you in anticipation.

Regards,
HC(hitcha)

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

It seems that you are misunderstanding the ways of working in Ubuntu and the involvement of launchpad.net

Ubuntu 10.04 is not supported any more.

Launchpad keeps a full history, and so the packages are still stored somewhere on the Launchpad servers, but the package management repositories have been removed from the archive.ubuntu.com servers.

What you see in synaptic is outdated information. If you try to reload the package inventory in synaptic, you will get errors, because there is no valid inventory information for Ubuntu 10.04 on the in.archive.ubuntu.com server any more. Since synaptic cannot find any current information, it will display the last known data to you, but these are obsolete.

What might work is the following:
Update your package management configuration to use the old-releases.ubuntu.com server, see https://help.ubuntu.com/community/EOLUpgrades#Update_sources.list

If you want to install packages by directly downloading the .deb files from launchpad.net or the old-releases.ubuntu.com server, you need an in-depth knowledge of the package management system used in Ubuntu. I am not in a position to teach that.

Revision history for this message
HC (hitcha) said :
#7

Thank you Manfred and actionparsnip for trying to help.

I was finally able to install g++ on Ubuntu 10.04 WITHOUT having to upgrade to a higher distro of Ubuntu.

The steps to install g++ are:-
1) Go to /etc/apt directory.
2) Make a backup copy of sources.list file by copying it to sources.list_original (you may use 'backup' instead of 'original' )
3) Open the sources.list file with a suitable editor like gedit or vi.
     In the sources .list file copy the following:-
     deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted
     deb-src http://old-releases.ubuntu.com/ubuntu/ lucid main restricted

     deb http://old-releases.ubuntu.com/ubuntu/ lucid universe
     deb-src http://old-releases.ubuntu.com/ubuntu/ lucid universe

    deb http://old-releases.ubuntu.com/ubuntu/ lucid multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ lucid multiverse

     You may comment out the lines containing the following:-
      deb http://in.archive.......
4) Save the file.
5) At the shell prompt in a terminal, issue the following command:-
     sudo apt-get install -f
6) Then issue:-
     sudo apt-get install g++

That should install the suitable g++ version for Ubuntu 10.04.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

I suggest you upgrade to a newer release for continued support.