g++-4.2 (4.2.3-2ubuntu7) and libstdc++6-4.2-dev (4.2.3-2ubuntu7)

Asked by cory2107

So I was trying to install the g++-4.2 (4.2.3-2ubuntu7) package on Ubuntu 8.04.1 Hardy and so it says it is dependent upon the libstdc++6-4.2-dev (4.2.3-2ubuntu7) package. Well, the libstdc++6-4.2-dev (4.2.3-2ubuntu7) package says it's dependent upon g++-4.2 (4.2.3-2ubuntu7). So one is dependent on the other, and vice versa. This seems impossible and i now have no clue how to install either of them. i tried installing both from terminal but then it says they can't be configured and it won't work, so i uninstalled them both using terminal. Could someone just tell me how to properly install these two packages, PLEASE!?!?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gcc-4.2 Edit question
Assignee:
No assignee Edit question
Solved by:
cory2107
Solved:
Last query:
Last reply:
Revision history for this message
Ernest Yang (ernest-atheros) said :
#1

Can you try to install use Synaptic Packet Manager? (System -> Administartion -> Synaptic Package Manager).
My Ubuntu 8.10 does not have this problem, which has g++ 4.3 and libstdc 6.4.3 installed.

Revision history for this message
cory2107 (cory2107) said :
#2

Well, I used the Package installer, i tried Synaptic, which didn't seem to install it at all, and i tried terminal. i did get it working in terminal later, though. For anyone else wanting to know how i did this, i installed BOTH with terminal by moving the package installers to the desktop, then doing this in terminal:

cd Desktop
sudo dpkg -i (package_name).deb
sudo dpkg -i (other_package_name).deb
sudo apt-get install -f

After i did this, they both worked fine.

Revision history for this message
Tom (tom6) said :
#3

Brilliant, nicely done. Thanks for getting back to us with the answer, that should help next time someone has this problem :)
Thanks and regards from
Tom :)