stretch安装steam失败

求助

(驿窗) #1

stretch安装steam失败;
我是按wiki来做的,步骤如下 :
1、添加non-free源;
2、启用 [Multi-Arch]
#dpkg --add-architecture i386
#apt update
3、安装steam

apt install steam

然后提示错误:
`apt install steam
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:
steam:i386 :
Depends: libgl1-mesa-dri:i386 but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
`
wiki中没有intel集成显卡的相关说明,所以,接下来不清楚应该怎么弄了…

补充:刚刚又试了下apt upgrade到最新的stretch 9.8,依旧;
补充:我在虚拟机里试了一下,可以安装;看来,是我的host系统有什么地方有问题了… 通常应该怎么查?


#2

使用aptitude试试看?或许它能提供一些解决方案


(驿窗) #3

方案很复杂,如下面:

aptitude install steam
Note: selecting "steam:i386" instead of the virtual package "steam"
The following NEW packages will be installed:
  gcc-6-base:i386{a} libbsd0:i386{a} libc6:i386{a} libdrm-amdgpu1:i386{a} libdrm-intel1:i386{a} libdrm-nouveau2:i386{a} 
  libdrm-radeon1:i386{a} libdrm2:i386{ab} libedit2:i386{a} libelf1:i386{a} libexpat1:i386{a} libffi6:i386{a} libgcc1:i386{a} 
  libgcrypt20:i386{a} libgl1-mesa-dri:i386{a} libgl1-mesa-glx:i386{ab} libglapi-mesa:i386{ab} libgpg-error0:i386{a} libgpm2:i386{a} 
  libllvm3.9:i386{a} libncurses5:i386{a} libpciaccess0:i386{a} libsensors4:i386{a} libstdc++6:i386{a} libtinfo5:i386{a} 
  libtxc-dxtn-s2tc:i386{a} libudev1:i386{a} libx11-6:i386{a} libx11-xcb1:i386{a} libxau6:i386{a} libxcb-dri2-0:i386{a} 
  libxcb-dri3-0:i386{a} libxcb-glx0:i386{a} libxcb-present0:i386{a} libxcb-sync1:i386{a} libxcb1:i386{a} libxdamage1:i386{a} 
  libxdmcp6:i386{a} libxext6:i386{a} libxfixes3:i386{a} libxinerama1:i386{a} libxshmfence1:i386{a} libxss1:i386{a} 
  libxxf86vm1:i386{a} steam:i386 zlib1g:i386{a} 
0 packages upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.0 MB of archives. After unpacking 201 MB will be used.
The following packages have unmet dependencies:
 libgl1 : Breaks: libgl1-mesa-glx:i386 (< 17.2.0~rc4-1) but 13.0.6-1+b2 is to be installed
 libglapi-mesa : Breaks: libglapi-mesa:i386 (!= 18.2.8-2~bpo9+1) but 13.0.6-1+b2 is to be installed
 libglapi-mesa:i386 : Breaks: libglapi-mesa (!= 13.0.6-1+b2) but 18.2.8-2~bpo9+1 is installed
 libdrm2 : Breaks: libdrm2:i386 (!= 2.4.95-1~bpo9+1) but 2.4.74-1 is to be installed
 libdrm2:i386 : Breaks: libdrm2 (!= 2.4.74-1) but 2.4.95-1~bpo9+1 is installed
 libglx0 : Breaks: libgl1-mesa-glx:i386 (< 17.2.0~rc4-1) but 13.0.6-1+b2 is to be installed
 libgl1-mesa-glx : Breaks: libgl1-mesa-glx:i386 (!= 18.2.8-2~bpo9+1) but 13.0.6-1+b2 is to be installed
 libgl1-mesa-glx:i386 : Conflicts: libgl1 but 1.1.0-1~bpo9+1 is installed
                        Breaks: libgl1-mesa-glx (!= 13.0.6-1+b2) but 18.2.8-2~bpo9+1 is installed
open: 40; closed: 1288; defer: 24; conflict: 30                                                                                        .The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libdrm-amdgpu1:i386 [Not Installed]                
2)     libdrm-intel1:i386 [Not Installed]                 
3)     libdrm-nouveau2:i386 [Not Installed]               
4)     libdrm-radeon1:i386 [Not Installed]                
5)     libdrm2:i386 [Not Installed]                       
6)     libgl1-mesa-dri:i386 [Not Installed]               
7)     libgl1-mesa-glx:i386 [Not Installed]               
8)     libglapi-mesa:i386 [Not Installed]                 
9)     steam:i386 [Not Installed]                         



Accept this solution? [Y/n/q/?] 
--------------

看起来我应该从9个当中选一个,我是应该选7么?
我试了直接输入‘y’,结果什么也没发生,直接结束了~


#4

这个问题难住我了,我也给不出什么好的方案了,难不成是你手动调了一些显卡驱动相关的包导致的?我的本子没有独显,所以没碰到这个问题


(驿窗) #5

你的推断还真有可能;
我之前使用OmegaT插件时遇到过显卡发热的情况,然后做了些尝试,虽然都没解决问题,但确实对显卡做了些操作,问题是我记不清楚哪些操作没有还原的;

我回头再想想看有什么其它办法,如果不行,忙完手头的我就重新装一次host系统~


#6

我想起来了,你上面的aptitude输出的是它给你的一个解决方案,这个方案就是啥也不装,你按n它就会接着给出下一个方案,你可以试试看,不过鉴于你手动调过一些包,在采取方案的时候要仔细检查一下。


(Ms Peng) #7

怎么感觉你们装个Steam这么麻烦呢?


(驿窗) #8

调整过一些东西的结果…


(Ms Peng) #9

Steam 需要支持I386的运行库 我当初是从官网下载的 然后 用的 apt insatll Steam的deb包


(Ms Peng) #10

:joy: 感觉没啥好玩的游戏


(驿窗) #11

选n以后复杂了,提示了656个包,这里已经贴不下了;


看起来,我调整的东西让系统也晕得很,也许重装是个好办法,可以防止以后出类似问题~


(驿窗) #12

我只能用apt命令,没法下载再安装:joy:

以后会多的:grinning:


#13

据说debian源里的包是v社花钱请别人来做的,所以可能和官网的deb包是一样的。


#14

游戏的确比较少,但是我想说比前几年已经好很多了 :wink:


#15

那就尴尬了,看来是没啥好办法了


(Ms Peng) #16

这几天一直再玩自带的俄罗斯方块:joy:


(Ms Peng) #17

你可以用kvm玩游戏啊


(驿窗) #18

我以后绝对不乱折腾显卡什么的了,这是血淋淋的经验啊~ :joy:


(Ms Peng) #19

都好活跃不上班啊?


#20

我买笔记本从来没买过带独显的,所以完美的避开了这些问题 :joy: