Tidak dapat menginstal ia32-libs di Debian Wheezy

8

Saya mencoba untuk menginstal ia32-libs di Debian Wheezy. Saya mendapat kesalahan

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.

saya menggunakan

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

Sumber saya. Pertama adalah

# 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
user3539
sumber

Jawaban:

16

Karena Wheezy memperkenalkan multiarch, ia32-libspaket tersebut sekarang sudah tidak digunakan lagi. Sekarang dimungkinkan untuk menginstal paket 32bit secara langsung:

dpkg --add-architecture i386 # enable multi-arch
apt-get update
apt-get install libc6:i386 # install base 32bit libraries
jordanm
sumber