Eu tive os mesmos sintomas que em esta questão , e tomou o remédio sugerido de instalar o libstdc ++ aqui . Depois disso, recebi muitas reclamações sobre o cromo e o libreoffice que eu só consegui resolver com dpkg -r
( apt-get remove
não funcionou), e tentando usar apt-get
eu ainda recebo esses erros:
perec ~/Downloads 10:10:48 $ sudo apt-get install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version (1.2.19).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libstdc++-6-dev : Depends: libstdc++6 (>= 6.1.1-3ubuntu11~14.04.1) but 5.4.0-6ubuntu1~16.04.4 is to be installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.4) but it is not going to be installed
libstdc++6:i386 : Depends: gcc-5-base:i386 (= 5.4.0-6ubuntu1~16.04.4) but it is not going to be installed
Depends: libc6:i386 (>= 2.18) but it is not going to be installed
Depends: libgcc1:i386 (>= 1:4.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Ok, e se eu tentar apt-get -f install
?
perec ~/Downloads 10:10:51 $ 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++-6-dev : Depends: libstdc++6 (>= 6.1.1-3ubuntu11~14.04.1) but 5.4.0-6ubuntu1~16.04.4 is installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.4) but it is not 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
Hooray!
Por acaso, este ticket sugere a instalação de ambos os arquivos amd64 e i386 libstdc ++ .deb, por alguma razão:
perec ~/Downloads 10:13:24 $ sudo dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.4_*
(Reading database ... 187526 files and directories currently installed.)
Preparing to unpack libstdc++6_5.4.0-6ubuntu1~16.04.4_amd64.deb ...
Unpacking libstdc++6:amd64 (5.4.0-6ubuntu1~16.04.4) over (5.4.0-6ubuntu1~16.04.4) ...
Preparing to unpack libstdc++6_5.4.0-6ubuntu1~16.04.4_i386.deb ...
Unpacking libstdc++6:i386 (5.4.0-6ubuntu1~16.04.4) over (5.4.0-6ubuntu1~16.04.4) ...
dpkg: dependency problems prevent configuration of libstdc++6:amd64:
libstdc++6:amd64 depends on gcc-5-base (= 5.4.0-6ubuntu1~16.04.4); however:
Package gcc-5-base is not installed.
dpkg: error processing package libstdc++6:amd64 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libstdc++6:i386:
libstdc++6:i386 depends on gcc-5-base (= 5.4.0-6ubuntu1~16.04.4).
libstdc++6:i386 depends on libc6 (>= 2.18).
libstdc++6:i386 depends on libgcc1 (>= 1:4.2).
dpkg: error processing package libstdc++6:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
libstdc++6:amd64
libstdc++6:i386
É claro que não consigo instalar gcc-5-base
, etc., usando o apt-get, porque, bem, ele considera meu sistema quebrado. E eu não tenho ideia se devo instalar essas coisas.
(Maravilhosamente, acabei de sair do pidgin e agora não posso reiniciá-lo, porque o binário foi aparentemente excluído no upgrade. E também não consigo reinstalá-lo porque apt-get
está corrompido. Atualize o processo de atualização aqui. )