"Unable to run mksdcard SDK tool." tried to install android SDK
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9-4) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32stdc++6 : Depends: gcc-4.6-base (= 4.6.3-1ubuntu5) but 4.6.4-6ubuntu2 is to be installed
Depends: lib32gcc1 (>= 1:4.1.1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9-4) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32stdc++6 : Depends: gcc-4.6-base (= 4.6.3-1ubuntu5) but 4.6.4-6ubuntu2 is to be installed
Depends: lib32gcc1 (>= 1:4.1.1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried on net to solve this issue and search and refer many sites like above but no joy.
Is there any other way to remove broken packages? guide me through.Thanks in advance.
I checked on my system and I have those packages already installed, so they shouldn't be too fragmented/broken...
Code:
slackjack@slacker:~$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32bz2-1.0 is already the newest version.
lib32ncurses5 is already the newest version.
lib32ncurses5 set to manually installed.
lib32stdc++6 is already the newest version.
lib32stdc++6 set to manually installed.
lib32z1 is already the newest version.
lib32z1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
I checked on my system and I have those packages already installed, so they shouldn't be too fragmented/broken...
Code:
slackjack@slacker:~$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32bz2-1.0 is already the newest version.
lib32ncurses5 is already the newest version.
lib32ncurses5 set to manually installed.
lib32stdc++6 is already the newest version.
lib32stdc++6 set to manually installed.
lib32z1 is already the newest version.
lib32z1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Hello,
Here is the output
Quote:
sudo apt-get install synaptic
[sudo] password for carlcj:
Reading package lists... Done
Building dependency tree
Reading state information... Done
synaptic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
carlcj@creative:~$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9-4) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32stdc++6 : Depends: gcc-4.6-base (= 4.6.3-1ubuntu5) but 4.6.4-6ubuntu2 is to be installed
Depends: lib32gcc1 (>= 1:4.1.1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
i don't know how to edit and what to edit to fix broken pakages.could you tell me how to edit what to edit? Thanks in advance.
apart from that, i think you have too many sources.
not sure, but something's off.
also, who knows what dependencies chrome (dl.google.com?) pulls in. i think they've been known to bork people's systems before, automatically adding their sources...
apart from that, i think you have too many sources.
not sure, but something's off.
also, who knows what dependencies chrome (dl.google.com?) pulls in. i think they've been known to bork people's systems before, automatically adding their sources...
Hello,
My output is
Quote:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
[sudo] password for carlcj:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9-4) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32stdc++6 : Depends: gcc-4.6-base (= 4.6.3-1ubuntu5) but 4.6.4-6ubuntu2 is to be installed
Depends: lib32gcc1 (>= 1:4.1.1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ok.
everytime you get the "you have held broken packages" error, you have to run
Code:
apt-get install -f
afterwards.
how did you install the android sdk in the first place?
hint:
you should install it from your repositories.
installing it from its web page's installer is likely to result in unresolvable dependencies.
edit:
additionally there might be multiarch problems there.
basically, you have a 64 bit system but android sdk requires 32 bit architecture.
this is easily solveable, but i don't know how to do it on *buntu.
ok.
everytime you get the "you have held broken packages" error, you have to run
Code:
apt-get install -f
afterwards.
how did you install the android sdk in the first place?
hint:
you should install it from your repositories.
installing it from its web page's installer is likely to result in unresolvable dependencies.
edit:
additionally there might be multiarch problems there.
basically, you have a 64 bit system but android sdk requires 32 bit architecture.
this is easily solveable, but i don't know how to do it on *buntu.
still i getting the broken packages error.by initially i install sdk with android studio. i downloaded the android studio.deb and execute after completing it tried to install sdk there i was getting the error
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.