Instalando manualmente o gcc-5-base 5.4.0-6ubuntu1 ~ 16.04.4 fez o apt-get descobrir. Então eu removi o gcc e reinstalei o último
Eu atualizei meu computador de 12.04 para 14.04 e, em seguida, de 14.04 para 16.04. Parece haver um problema de dependência com libstdc++
, em que libstdc++-5-dev
depende de um pacote 12.04 e libstdc++6
depende de um pacote 16.04. Saída de apt-get -f install
:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libstdc++-5-dev : Depends: libstdc++6 (>= 5.4.1-2ubuntu1~12.04) but 5.4.0-6ubuntu1~16.04.4 is installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.4) but 5.4.1-2ubuntu1~12.04 is installed
libstdc++6:i386 : Depends: gcc-5-base:i386 (= 5.4.0-6ubuntu1~16.04.4) but it is not installed
Depends: libc6:i386 (>= 2.18) but it is not installed
Depends: libgcc1:i386 (>= 1:4.2) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
Como faço para limpar essa bagunça?
Instalando manualmente o gcc-5-base 5.4.0-6ubuntu1 ~ 16.04.4 fez o apt-get descobrir. Então eu removi o gcc e reinstalei o último