8

I noticed this on 12.10 trying to get the Android SDK working. For 64 bit versions, it is required to install:

sudo apt-get install ia32-libs

However, under 64bit 12.10, I got the following error:

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-multiarch but it is not installable

And

> apt-get install ia32-libs-multiarch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs-multiarch is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ia32-libs-multiarch' has no installation candidate

2 Answers2

13

I found the solution here comment #27,

sudo dpkg --add-architecture i386
sudo apt-get update 
sudo apt-get install ia32-libs

Then the 32 bit libraries install fine (for me anyway!). Hope this helps somebody !

pst007x
  • 8,052
  • 9
    This solution is now obsolete: Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32z1 lib32ncurses5 lib32bz2-1.0 – Mike Dec 18 '13 at 19:53
  • 3
    dpkg: error: unknown option --add-architecture – bancer Mar 24 '14 at 11:29
  • sudo apt-file -a i386 update; sudo apt-file update; for f in $(< libs.txt) ; do test -f "/lib/i386-linux-gnu/$f" || test -f "/usr/lib/i386-linux-gnu/$f" || { echo -n "$f: " ; ps=($(apt-file -a i386 -x search "/$f$" | sed -e 's/([^:]): ./\1/g')); echo "${ps[@]}" ; } ; done

    Copy and paste desired package names from the output of the above script into the libs variable below.

    libs=(foo bar baz) ; sudo apt-get install "${libs[@]/%/:i386}"

    – eel ghEEz Feb 19 '15 at 17:33
  • @bancer -- you need to upgrade dpkg: sudo apt-get update && sudo apt-get install --only-upgrade dpkg – Matt Jul 13 '15 at 19:42
0

The accepted answer no longer works, as you see by comments. I found a working solution elsewhere:

sudo dpkg --add-architecture i386

sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"

sudo apt-get update && sudo apt-get install skype

Link is here.

mateor
  • 111
  • 3