Dependências fazendo com que o apt-get não consiga instalar o gcc / g ++

-1

Eu tenho tentado executar apt-get install gcc-4.8 g++-4.8 para que eu possa instalar o pacote build-essential .

Eu recebo este erro quando tento instalar o gcc / g ++:

Reading state information... Done
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:
 gcc-4.8 : Depends: binutils (>= 2.23.90.20131017) but 2.23.52.20130913-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

Eu não acredito que tenha quebrado pacotes. Eu também tentei instalar esses pacotes no aptitude sem qualquer sorte.

    
por MangaMan717 19.02.2015 / 07:03

1 resposta

0

você já tentou:

sudo apt-get install -f
sudo apt-get update

se não funcionar, tente:

sudo apt-get install ppa-purge 
sudo ppa-purge ppa:ubuntu-toolchain-r/test

Entre em fontes de software e verifique se você tem o universo e os repositórios multiversos habilitados, então

sudo apt-get update

Em seguida, tente instalar novamente

sudo apt-get install gcc-4.8 g++-4.8

e por favor, liste seu arquivo sources.list

    
por war1oc 19.02.2015 / 07:36