我正在关注有关安装 steam 的 debian wiki,但我不断遇到依赖性问题。
Debian 告诉我将sources.list 编辑为:
deb http://http.debian.net/debian/ jessie main contrib non-free
我的sources.list看起来像这样:
Debian GNU/Linux jessie/sid \n \l
#
deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ jessie main contrib non-free
#deb http://ftp.uk.debian.org/debian wheezy main
#deb http://security.debian.org/ wheezy/updates main non-free
#deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
#deb http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
#deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
我未解决的依赖关系如下所示:
Keep the following packages at their current version:
1) gcc-4.8-base:i386 [Not Installed]
2) libc6:i386 [Not Installed]
3) libc6-i686:i386 [Not Installed]
4) libdrm-intel1:i386 [Not Installed]
5) libdrm-nouveau2:i386 [Not Installed]
6) libdrm-radeon1:i386 [Not Installed]
7) libdrm2:i386 [Not Installed]
8) libelf1:i386 [Not Installed]
9) libexpat1:i386 [Not Installed]
10) libffi6:i386 [Not Installed]
11) libgcc1:i386 [Not Installed]
12) libgl1-mesa-dri:i386 [Not Installed]
13) libgl1-mesa-glx:i386 [Not Installed]
14) libglapi-mesa:i386 [Not Installed]
15) libllvm3.3:i386 [Not Installed]
16) libpciaccess0:i386 [Not Installed]
17) libstdc++6:i386 [Not Installed]
18) libtxc-dxtn-s2tc0:i386 [Not Installed]
19) libx11-6:i386 [Not Installed]
20) libx11-xcb1:i386 [Not Installed]
21) libxau6:i386 [Not Installed]
22) libxcb-dri2-0:i386 [Not Installed]
23) libxcb-glx0:i386 [Not Installed]
24) libxcb1:i386 [Not Installed]
25) libxdamage1:i386 [Not Installed]
26) libxdmcp6:i386 [Not Installed]
27) libxext6:i386 [Not Installed]
28) libxfixes3:i386 [Not Installed]
29) libxxf86vm1:i386 [Not Installed]
30) steam:i386 [Not Installed]
31) zlib1g:i386 [Not Installed]
Leave the following dependencies unresolved:
32) libgl1-mesa-glx:i386 recommends libgl1-mesa-dri:i386 (>= 7.2)
我认为这可能与此有关,# dpkg --add-architecture i386
但当我运行命令时似乎没有发生任何事情。
帮助表示赞赏。
编辑:
root@Wheezy:/# apt-get 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: libc6:i386 (>= 2.12) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.3) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
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
Depends: libtxc-dxtn-s2tc0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
编辑:
root@Wheezy:/# dpkg --print-architecture
amd64
root@Wheezy:/# dpkg --print-foreign-architectures
i386
编辑:
root@Wheezy:/# apt-cache policy libc6:i386 libstdc++6:i386 libx11-6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libtxc-dxtn-s2tc0:i386 steam:i386
libc6:i386:
Installed: (none)
Candidate: 2.18-4
Version table:
2.18-4 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libstdc++6:i386:
Installed: (none)
Candidate: 4.8.2-16
Version table:
4.8.2-16 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libx11-6:i386:
Installed: (none)
Candidate: 2:1.6.2-1
Version table:
2:1.6.2-1 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libgl1-mesa-dri:i386:
Installed: (none)
Candidate: 9.2.2-1
Version table:
9.2.2-1 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libgl1-mesa-glx:i386:
Installed: (none)
Candidate: 9.2.2-1
Version table:
9.2.2-1 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libtxc-dxtn-s2tc0:i386:
Installed: (none)
Candidate: 0~git20131104-1.1
Version table:
0~git20131104-1.1 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
steam:i386:
Installed: (none)
Candidate: 1.0.0.45-1
Version table:
1.0.0.45-1 0
500 http://ftp.uk.debian.org/debian/ jessie/non-free i386 Packages
root@Wheezy:/#
编辑:
root@Wheezy:/# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ftp.uk.debian.org/debian/ jessie/non-free Translation-en
500 http://ftp.uk.debian.org/debian/ jessie/main Translation-en
500 http://ftp.uk.debian.org/debian/ jessie/contrib Translation-en
500 http://ftp.uk.debian.org/debian/ jessie/non-free i386 Packages
release o=Debian,a=testing,n=jessie,l=Debian,c=non-free
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian/ jessie/contrib i386 Packages
release o=Debian,a=testing,n=jessie,l=Debian,c=contrib
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
release o=Debian,a=testing,n=jessie,l=Debian,c=main
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian/ jessie/non-free amd64 Packages
release o=Debian,a=testing,n=jessie,l=Debian,c=non-free
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian/ jessie/contrib amd64 Packages
release o=Debian,a=testing,n=jessie,l=Debian,c=contrib
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian/ jessie/main amd64 Packages
release o=Debian,a=testing,n=jessie,l=Debian,c=main
origin ftp.uk.debian.org
Pinned packages: