Android Error:install Libsdl-dev Unsatisfied dependencies

Source: Internet
Author: User

The Libsdl-dev library is required for Android compilation:

Error encountered during installation:

sudo apt-get install Libsdl-dev is reading the package list ... Completing the dependency tree that is analyzing the package is       reading state information ... Finish       note, choose Libsdl1.2-dev instead of Libsdl-dev some packages cannot be installed. If you are using the unstable release, this may be due to the system not being able to meet the status you requested. Some of the packages you need may not have been created or have been removed from the new to (Incoming) directory in this release. The following information may be helpful in resolving a problem: The following packages have unsatisfied dependencies:  Libsdl1.2-dev: Dependency: Libsdl1.2debian (= 1.2.14-4ubuntu1) but 1.2.14-4ubuntu1.1 is about to be installed                 dependent: Libx11-dev But it will not be installed dependent:                 Libglu1-mesa-dev But it will not be installed dependent:                 Libpulse-dev But it will not be installed                 dependent on: Libdirectfb-dev (>= 0.9.22) but it will not be installed dependent:                 Libaa1-dev But it will not be installed                 dependent: Libcaca-dev But it will not be installed                 dependent: Libxt-dev But it will not be installed                 dependent: Libxext-dev But it will not be installed E: Broken Package
Replace the source to resolve the issue:

Open the Sources.list under/etc/apt/:

Replace the old content with the following (of course, if necessary, back up the original content):

#deb cdrom:[ubuntu 10.04.3 LTS _lucid lynx_-Release i386 (20110720.1)]/Lucid main restricted# See http://help.ubuntu.co M/community/upgradenotes for what to upgrade to# newer versions of the Distribution.deb Http://cn.archive.ubuntu.com/ubunt U/lucid main RESTRICTEDDEB-SRC http://cn.archive.ubuntu.com/ubuntu/lucid main restricted## Major bug fix updates produce D after the final release of the## Distribution.deb http://cn.archive.ubuntu.com/ubuntu/lucid-updates main restricteddeb -SRC http://cn.archive.ubuntu.com/ubuntu/lucid-updates main restricted## n.b. Software from this repository is entirely U Nsupported by the ubuntu## team. Also, please note this software in universe won't receive any## review or updates from the Ubuntu security Team.deb htt P://cn.archive.ubuntu.com/ubuntu/lucid universedeb-src http://cn.archive.ubuntu.com/ubuntu/lucid universedeb http ://cn.archive.ubuntu.com/ubuntu/lucid-updates universedeb-src Http://cn.archive.ubuntu.com/ubuntu/lucid-updates Universe# # N.B. Software from this repository are entirely unsupported by the Ubuntu # # team, and May isn't being under a free licence. Satisfy yourself as to # # Your rights to use the software. Also, please note this software in # # Multiverse won't receive any review or updates from the ubuntu## security team.de b http://cn.archive.ubuntu.com/ubuntu/lucid multiversedeb-src Http://cn.archive.ubuntu.com/ubuntu/lucid Multiversedeb http://cn.archive.ubuntu.com/ubuntu/lucid-updates multiversedeb-src http://cn.archive.ubuntu.com/ Ubuntu/lucid-updates multiverse## Uncomment the following the lines to add software from the ' Backports ' # # repository.## n.b. Software from this repository could not be been tested as## extensively as that contained in the main release, Althou GH it includes## Newer versions of some applications which may provide useful features.## Also, please note that software In Backports won't receive any review## or updates from the Ubuntu security team.# Deb Http://cn.archivE.ubuntu.com/ubuntu/lucid-backports main restricted universe multiverse# deb-src Http://cn.archive.ubuntu.com/ubuntu /lucid-backports main restricted universe multiverse## uncomment the following and lines to add software from Canonical ' s # # ' partner ' repository.## This software was not part of Ubuntu, but was offered by Canonical and the## respective vendors a s a service to Ubuntu users.# Deb Http://archive.canonical.com/ubuntu lucid partner# deb-src http://archive.canonical.com /ubuntu Lucid Partnerdeb Http://security.ubuntu.com/ubuntu lucid-security main RESTRICTEDDEB-SRC/http Security.ubuntu.com/ubuntu lucid-security main Restricteddeb http://security.ubuntu.com/ubuntu lucid-security UNIVERSEDEB-SRC Http://security.ubuntu.com/ubuntu lucid-security universedeb Http://security.ubuntu.com/ubuntu Lucid-security multiversedeb-src Http://security.ubuntu.com/ubuntu lucid-security Multiverse
Save after execution:

sudo apt-get update
sudo apt-get install Libsdl-dev

Android Error:install Libsdl-dev Unsatisfied dependencies

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.