web-dev-qa-db-fra.com

Erreur lors de l'installation de Steam sur Ubuntu 14.04 LTS

J'essaie d'installer Steam sur mon Ubuntu et j'obtiens cette erreur:

Steam needs to install these additional packages: 
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
[Sudo] password for prince: 
.......................................................
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:
 libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
 libgl1-mesa-dri:i386 : Depends: libdrm-intel1:i386 (>= 2.4.48) but it is not going to be installed
                        Depends: libdrm-nouveau2:i386 (>= 2.4.38) but it is not going to be installed
                        Depends: libdrm-radeon1:i386 (>= 2.4.31) but it is not going to be installed
                        Depends: libdrm2:i386 (>= 2.4.38) but it is not going to be installed
                        Depends: libelf1:i386 (>= 0.142) but it is not going to be installed
                        Depends: libexpat1:i386 (>= 2.0.1) but it is not going to be installed
                        Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
                        Depends: libllvm3.4:i386 but it is not going to be installed
                        Depends: libstdc++6:i386 (>= 4.6) but it is not going to be installed
                        Recommends: libtxc-dxtn-s2tc0:i386 but it is not going to be installed or
                                    libtxc-dxtn0:i386
 libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (>= 2.3.1) but it is not going to be installed
                        Depends: libx11-6:i386 (>= 2:1.4.99.1) but it is not going to be installed
                        Depends: libxcb-dri2-0:i386 (>= 1.8) but it is not going to be installed
                        Depends: libxcb-dri3-0:i386 but it is not going to be installed
                        Depends: libxcb-glx0:i386 (>= 1.8) but it is not going to be installed
                        Depends: libxcb-present0:i386 but it is not going to be installed
                        Depends: libxcb-sync1:i386 but it is not going to be installed
                        Depends: libxcb1:i386 (>= 1.9.2) but it is not going to be installed
                        Depends: libxdamage1:i386 (>= 1:1.1) but it is not going to be installed
                        Depends: libxext6:i386 but it is not going to be installed
                        Depends: libxfixes3:i386 but it is not going to be installed
                        Depends: libxxf86vm1:i386 but it is not going to be installed
                        Depends: libudev1:i386 but it is not going to be installed or
                                 libudev0:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
Press return to continue: 

Si j'appuie sur enter, j'obtiens une fenêtre disant:

You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6

En regardant les réponses à cette question , qui mentionne un problème similaire, j'ai essayé de faire une mise à jour et d'installer, mais j'ai obtenu cette erreur:

prince@Devil-Device:~$ Sudo apt-get install libc6-i386
[Sudo] password for prince: 
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:
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6) but 2.19-0ubuntu6.6 is to be installed
E: Unable to correct problems, you have held broken packages.
prince@Devil-Device:~$ 

Veuillez aider.

1
Mohan

Vous avez cassé des packages

Sudo apt-get -f install 

Sudo apt-get update && Sudo apt-get upgrade 

Réessayez ensuite.

Si vous rencontrez les mêmes problèmes, vous devrez peut-être ajouter des packages (32 bits) si vous exécutez 64.

Sudo dpkg --add-architecture i386 && Sudo apt-get upgrade

Wine 1.4 en cas d'échec: cela prend en charge win32 et win64. Retirez d'abord tous les autres paquets de vin

Sudo apt-get purge wine1.7

Installez ensuite Wine 1.4

Sudo apt-get install wine1.4 && Sudo apt-get upgrade 

Définissez votre préfixe de vin pour votre système, c'est pour 32 bits.

export WINEPREFIX=prefix32



export WINEARCH=win32

Courir:

winecfg
1
DnrDevil

J'ai moi-même eu ce même problème pendant un certain temps. Lorsque j'ai essayé d'installer les packages, la moitié d'entre eux ne s'installaient pas. Ce qui a personnellement fonctionné pour moi, a été de supprimer cette installation de Steam (via Sudo apt-get remove Steam ou Sudo apt-get purge Steam) et faire une nouvelle installation via Sudo apt-get install Steam -y. Maintenant, je ne peux pas dire que cette installation fonctionnera à 100% (ce n'était pas le cas pour moi au début, j'ai dû réinstaller mes pilotes de carte graphique), mais j'espère que cela aide. :)

0
TheSoNiX