Eu estava tentando instalar o steam (tanto do pacote steam: i386, quanto do pacote steam_latest.deb fornecido no vapor).
Em ambos os casos, o vapor não é iniciado / instalado devido a "dependências necessárias":
steam:i386 : Depends: libgl1-mesa-glx:i386
Verifiquei se o multiarch estava ativado com
sudo dpkg --add-architecture i386 && sudo apt-get update
Tentando instalar a dependência:
sudo apt-get install libgl1-mesa-glx:i386
Reading package lists... Done
Building dependency tree
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:
libegl1-mesa-lts-xenial : Depends: libgbm1-lts-xenial (>= 7.11~1) but it is not going to be installed
Depends: libgl1-mesa-dri-lts-xenial (= 11.2.0-1ubuntu2~trusty1) but it is not going to be installed
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6)
Depends: libudev1:i386 but it is not going to be installed or
libudev0:i386 but it is not installable
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
libsdl2-2.0-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) or
libwayland-egl1
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
para que pareça que eu esteja perdendo libegl1-mesa-lts-xenial
, libgl1-mesa-glx:i386
e libsdl2-2.0-0
No entanto, verificando esses, percebo que o libegl1-mesa-lts-xenial
já está instalado no sistema (e eu o reinstalei para ter certeza) e assim é libsdl2-2.0-0
.
(Como um aparte, estou surpreso com o quão inútil a saída do apt-get está em transmitir a fonte real do erro.)
Assim, o problema parece estar na libgl1-mesa-glx: i386
A instalação falha, pois depende de:
libglapi-mesa:i386
libudev1:i386
Ok, mais abaixo na toca do coelho. instalando a primeira dependência:
sudo apt-get install libglapi-mesa:i386
[...]
The following packages have unmet dependencies:
libegl1-mesa-lts-xenial : Depends: libgbm1-lts-xenial (>= 7.11~1) but it is not going to be installed
Depends: libgl1-mesa-dri-lts-xenial (= 11.2.0-1ubuntu2~trusty1) but it is not going to be installed
libsdl2-2.0-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) or
libwayland-egl1
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Hmm. as chamadas 'dependências não atendidas' ( libegl1-mesa-lts-xenial
, libgbm1-lts-xenial
, libgl1-mesa-dri-lts-xenial
, libsdl2-2.0-0
, libwayland-egl1-mesa
) já estão todas instaladas ...
Reinstalá-los não corrige o problema.
Ok. O outro?
Então, vamos tentar instalá-lo:
sudo apt-get install libudev1:i386
The following packages have unmet dependencies:
libudev1:i386 : Depends: libcgmanager0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Finalmente:
sudo apt-get install libcgmanager0:i386
The following packages have unmet dependencies:
libegl1-mesa-lts-xenial : Depends: libgbm1-lts-xenial (>= 7.11~1) but it is not going to be installed
Depends: libgl1-mesa-dri-lts-xenial (= 11.2.0-1ubuntu2~trusty1) but it is not going to be installed
libsdl2-2.0-0 : Depends: libwayland-egl1-mesa (>= 10.0.2) or
libwayland-egl1
libudev1 : Depends: libcgmanager0 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
O mesmo que antes. Todas as dependências já estão instaladas.
Esta foi originalmente sobre a instalação de vapor, mas eu posso fazer sem. No entanto, eu não consigo descobrir isso e isso está me deixando louco.
Alguma pista?