Ubuntu 12.04 and 12.10 cannot install Ia32-libs

Source: Internet
Author: User

[email protected]:~$ sudo apt-get install ia32-libs[sudo] password for administrator:Reading Package List ... Completeanalyzing dependency tree for packageReading status information ... CompleteSome software packages cannot be installed. If you are using the unstable release, this may bebecause the system is unable to achieve the state you requested. There may be some software that you need in this releasethe packages have not been created or they have been removed from the new to (Incoming) directory. The following information may be helpful in resolving a problem: The following packages have unsatisfied dependencies:ia32-libs: Dependent: Ia32-libs-multiarch But unable to install itE: The error cannot be corrected because you require certain packages to remain current, that is, they destroy the dependencies between the software packages.  This situation does not occur under 11.10 (including 11.10). when setting up an Android development environment, there is usually no way to create ADV, which is because Ubuntu is 64-bit and does not have a 32 dependent library installed, and our workaround is usually sudo apt-get install Ia32-libs, this method under 11.10 is possible, but 12.04 above will appear above the situation can not be installed, the following is the method I found:1:apt-get Install GnuPG Flex Bison gperf Zip curl zlib1g-dev libc6-dev Lib32ncurses5-dev ia32-libs X11proto-core-dev Lib X11-dev lib32readline-gplv2-dev Lib32z1-dev Libgl1-mesa-dev g++-multilib(proven method of discovery is not used)2:http://blog.csdn.net/doon/article/details/8053174

There is no proper way to find it online.

Finally, Google (or better than Baidu), although not found the library installation method, but found the solution: the installation of the required 32-bit library

$ sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386

I was meant to run ADB. When running ADB, found lack of libncurses5 library, hands-on, clothed, Bishi,

sudo apt-get install libncurses5:i386

Under 64 bits, the GCC default compiles code bits 64 bits, but if you want to compile bits, you can use the GCC-M32 option to set.

Unfortunately, however, there will be errors, saying that/usr/include/features.h files cannot be found or something. Google, found in this way:

sudo apt-get install g++-multilib (useful for this sentence)

After all this entanglement, we can finally create the simulator, but there are new problems:

SDL init failure, reason is:no available video device

Find the parties:

Method 1: sudo apt-get install ia32-libs lib32stdc++6

Results appear:

Reading Package List ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
Lib32stdc++6 is already the latest version.
Lib32stdc++6 is set to manual installation.
Some software packages cannot be installed. If you are using the unstable release, this may be
Because the system is unable to achieve the state you requested. There may be some software that you need in this release
The packages have not been created or they have been removed from the new to (Incoming) directory.
The following information may be helpful in resolving a problem:

The following packages have unsatisfied dependencies:
Ia32-libs: Dependent: Ia32-libs-multiarch But unable to install it
E: The error cannot be corrected because you require certain packages to remain current, that is, they destroy the dependencies between the software packages.

The problem is back to the front.

Then I take this method command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386 libsdl1.2debian:i386

Results appear:

Reading Package List ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
E: Unable to locate package Libc6
E: Unable to locate package libncurses5
E: Unable to locate package libstdc++6
E: Unable to find any packages according to regular expression libstdc++6
E: Unable to locate package Libz1
E: Unable to locate package Libsdl1.2debian
E: Unable to find any packages according to regular expression Libsdl1.2debian

It is estimated that the previous update is not up, and then proceed as follows:

sudo apt-get update


SDL Simple DirectMedia Layer is a free cross-platform multimedia development package for games, game SDKs, demo software, simulators, MPEG players, and other applications .

Ubuntu 12.04 and 12.10 cannot install Ia32-libs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.