无法在Debian Wheezy中安装ia32-libs


8

我试图在Debian Wheezy中安装ia32-libs。我得到了错误

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

我在用

# uname -a
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

我的sources.lst是

# cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 DVD Binary-1 20130504-14:44]/ wheezy contrib main

# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 DVD Binary-1 20130504-14:44]/ wheezy contrib main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src ftp://ftp.iitm.ac.in/debian/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://http.us.debian.org/debian/ wheezy contrib non-free main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

Answers:


16

由于Wheezy引入了多体系结构,因此该ia32-libs软件包现在已弃用。现在可以直接安装32位软件包:

dpkg --add-architecture i386 # enable multi-arch
apt-get update
apt-get install libc6:i386 # install base 32bit libraries
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.