Estou instalando o ns2-allinone-2.29.2
(não o mais recente, eu precisava disso para testar st) no Ubuntu 14.04 e obtive o problema acima. Mesmo que as dependências estejam instaladas, elas não podem reconhecê-lo. Por favor ajude! Eu amo o Linux !!!
asrat@asrat-B85M-D3H:~$ **sudo apt-get -f install gcc-4.8 libstdc++-4.8-dev**
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc-4.8 is already the newest version.
gcc-4.8 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libstdc++-4.8-dev : Depends: gcc-4.8-base (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
Depends: libgcc-4.8-dev (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
E: Unable to correct problems, you have held broken packages.
asrat@asrat-B85M-D3H:~$ **sudo apt-get -f install gcc-4.8-base libgcc-4.8-dev**
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgcc-4.8-dev is already the newest version.
gcc-4.8-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
asrat@asrat-B85M-D3H:~$ **sudo apt-get -f install gcc-4.8 libstdc++-4.8-dev**
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc-4.8 is already the newest version.
gcc-4.8 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libstdc++-4.8-dev : Depends: gcc-4.8-base (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
Depends: libgcc-4.8-dev (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
E: Unable to correct problems, you have held broken packages.