Eu tentei instalar o Steam hoje no meu laptop e, para surpresa, ele está quebrado e precisa de ajustes, como em todas as vezes que eu já instalei o Steam no Linux.
No meu processo de tentar consertar as dependências ausentes, eu consegui quebrar completamente e completamente a funcionalidade do apt-get.
Veja o que está acontecendo.
sudo apt-get install cowsay
que mostra a mensagem adorável e completamente inútil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
cowsay is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libllvm3.6:i386 : Depends: zlib1g:i386 (>= 1:1.2.0) but it is not going to
be installed
libpciaccess0:i386 : Depends: zlib1g:i386 (>= 1:1.2.3.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So I do the next logical step, the console is telling me to run:
sudo apt-get -f install
Tudo bem, tente isso. Não, eu vou lhe dar a ilusão de que estou trabalhando e te deixar louco:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
zlib1g:i386
The following NEW packages will be installed:
zlib1g:i386
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
6 not fully installed or removed.
Need to get 0 B/52.9 kB of archives.
After this operation, 182 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 386548 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.2.8.dfsg-2ubuntu1_i386.deb ...
Unpacking zlib1g:i386 (1:1.2.8.dfsg-2ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/zlib1g_1%3a1.2.8.dfsg-2ubuntu1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/zlib1g/changelog.Debian.gz', which is different from other instances of package zlib1g:i386
Errors were encountered while processing:
/var/cache/apt/archives/zlib1g_1%3a1.2.8.dfsg-2ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Neste momento, sinto que já tentei de tudo. Eu segui um guia bem longo para tentar reconfigurar meu dpkg, usando o apt-get clean, e assim por diante. A reinicialização não fez nada para mim.
Estou completamente perdida. Eu apenas reinstalaria o Linux, mas não quero fazer backup de todo o meu trabalho só porque o Steam quebrou meu maldito apt-get.