PDA

View Full Version : [ubuntu] promblem in g++ _4.4 installation



bahador.saket
October 17th, 2010, 04:17 AM
Dear all

Recently, I have installed ubuntu 10.4.
I am going to install g++_4.4 but I am facing with errors.
I have tried three types of installation so far.

when I am trying to install g++ by using ubuntu software center
I am facing with following error:
"This error could be caused by required additional software packages which are missing or not installable. Futhermore there could be a conflict between software packages which are not allowed to be installed at the same time."

when I am using synaptic package manager

g++-4.4:
Depends: gcc-4.4-base (=4.4.4-14ubuntu5) but 4.4.3-4ubuntu5 is to be installed
Depends: gcc-4.4 (=4.4.4-14ubuntu5) but 4.4.3-4ubuntu5 is to be installed
Depends: libstdc++6-4.4-dev but it is not going to be installed


And when I am going to use the following command in Terminal

sudo apt-get install build-essential

I faced by following error:
The following packages have unmet dependencies:
build-essential: Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Broken packages


could you plz help me?

Regards,
Bahador

group256
October 17th, 2010, 12:51 PM
Try to install all the updates in your update manager. Then try again and report back.

Sometimes due to some dependencies and fresh install, some packages may not be available.