Steam for Linux

Steam for Linux

The EpicVaporware 2012 年 12 月 6 日 下午 7:25
wrong architecture
When I try to install steam for linux, I get an error:
gdebi steam.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
This package is uninstallable
Wrong architecture 'i386'

Anybody know how I can fix this?
最后由 The EpicVaporware 编辑于; 2012 年 12 月 6 日 下午 7:26
< >
正在显示第 1 - 15 条,共 33 条留言
Grootsman Telhan 2012 年 12 月 8 日 上午 2:33 
Enter the following commands, followed by a return (say Y or enter your information when asked):
su
dpkg --add-architecture i386
apt-get update
apt-get install ia32-libs
dpkg -i steam.deb
apt-get -f install

Steam is now installed!
(replace steam.deb by the full path to steam.deb)
GraveSilence 2012 年 12 月 10 日 下午 8:54 
Ubuntu 11.04, have the above problem, I get this:

dpkg: unknown option --add-architecture
weltschmerz 2012 年 12 月 11 日 下午 12:44 
I have the same problem on crunchbang 64-bit (kernel: 2.6.32, X.org 7.5). Help would be appreciated.
oats 2012 年 12 月 11 日 下午 12:46 
I have the same problem, I'm using x86_64 Kubuntu 12.04.
最后由 oats 编辑于; 2012 年 12 月 11 日 下午 12:46
trashpool 2012 年 12 月 11 日 下午 12:48 
You're running a 64-bit kernel. You need to install the ia32 compatibility libraries in order to install a 32-bit package. HaXaDoX's explanation above should set you right.
trashpool 2012 年 12 月 11 日 下午 12:49 
Ah. That should be --foreign-architecture instead of --add-architecture in his instructions above.
weltschmerz 2012 年 12 月 11 日 下午 12:52 
Welp. It just says 'dpkg: unknown option --foreign-architecture'.
trashpool 2012 年 12 月 11 日 下午 12:54 
No: do a dpkg --version, please and uname -a
trashpool 2012 年 12 月 11 日 下午 12:55 
Oh, and dpkg --print-architecture please.
weltschmerz 2012 年 12 月 11 日 下午 12:59 
Dpkg version: 'version 1.15.8.13 (amd64)'.
uname-a: 'Linux Crunchbang-PC 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux'
Dpkg print architecture: amd64
Am I doing something wrong?
trashpool 2012 年 12 月 11 日 下午 1:05 
No.: That's what I'm trying to figure out. 1sec.

No, you're not. Not exactly. Multiarchitecture support was added in dpkg 1.16 :)

see if doing --force-architecture instead will let you install that .deb. Also, what distro are you using?
weltschmerz 2012 年 12 月 11 日 下午 1:08 
So I wrote in:
dpkg --force-architecture i386 steam.deb
And it said:
dpkg: need an action option
trashpool 2012 年 12 月 11 日 下午 1:11 
Ah...no i386 there. --force-architecture tells dpkg to ignore the package's arch.
weltschmerz 2012 年 12 月 11 日 下午 1:11 
dpkg --force-architecture steam.deb
dpkg: need an action option
trashpool 2012 年 12 月 11 日 下午 1:12 
Oh...and you want to tell it to install, too, so this:

dpkg -i --force-architecture steam.deb
最后由 trashpool 编辑于; 2012 年 12 月 11 日 下午 1:12
< >
正在显示第 1 - 15 条,共 33 条留言
每页显示数: 1530 50

发帖日期: 2012 年 12 月 6 日 下午 7:25
回复数: 33