LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-09-2016, 09:22 AM   #1
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Rep: Reputation: 0
Question "Unable to run mksdcard SDK tool." tried to install android SDK


Hello,

I getting an error while setup android SDK
Code:
"Unable to run mksdcard SDK tool."
I searched on net to resolve this error
https://stackoverflow.com/questions/...tool-in-ubuntu

I run
Code:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
i geeting the error is
Code:
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.
Next, i tried to install android studio with ppa http://ubuntuhandbook.org/index.php/...ntu-14-04-ppa/ but this is also not worked for me.anyone knows about this error guide me.Thanks in advance.
 
Old 01-09-2016, 02:43 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you have to fix broken packages first, then run an update, followed by an upgrade.

then, try installing those packages again and show us the messages you get.
 
Old 01-09-2016, 10:06 PM   #3
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
you have to fix broken packages first, then run an update, followed by an upgrade.

then, try installing those packages again and show us the messages you get.
Hello,
Thanks for your reply,i follow instructions from these sites http://ubuntuforums.org/showthread.php?t=947124
https://askubuntu.com/questions/5781...tu-14-04-64bit
http://forums.linuxmint.com/viewtopi...465293#p465413
To remove broken packages.but no one won't work for me still i get the same error when i tried to install
Code:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
i get the error
Code:
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.
 
Old 01-11-2016, 11:06 PM   #4
jon lee
Member
 
Registered: Jul 2013
Posts: 113

Rep: Reputation: Disabled
I think I would try to use synaptic.
Code:
sudo apt-get install synaptic
Then go to:
->edit
->fix broken packages

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.
 
Old 01-12-2016, 01:26 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
please post complete output (including the commands themselves) of:
Code:
sudo -i
apt-get install -f
apt-get update
apt-get upgrade
 
Old 01-12-2016, 02:39 AM   #6
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jon lee View Post
I think I would try to use synaptic.
Code:
sudo apt-get install synaptic
Then go to:
->edit
->fix broken packages

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.
 
Old 01-12-2016, 02:44 AM   #7
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
please post complete output (including the commands themselves) of:
Code:
sudo -i
apt-get install -f
apt-get update
apt-get upgrade
Hello,

Please look at below for complete output

Quote:
carlcj@creative:~$ sudo -i
[sudo] password for carlcj:
root@creative:~# sudo -i
root@creative:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@creative:~# apt-get update
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://dl.google.com stable/main i386 Packages
Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.canonical.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Ign http://dl.google.com stable/main Translation-en_IN
Hit http://us.archive.ubuntu.com precise-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com precise-updates InRelease
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner Sources
Hit http://us.archive.ubuntu.com precise-backports InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://extras.ubuntu.com precise/main amd64 Packages
Ign http://ppa.launchpad.net saucy InRelease
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.canonical.com precise/partner Translation-en
Hit http://us.archive.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:2 http://ppa.launchpad.net trusty/main amd64 Packages [20.5 kB]
Hit http://us.archive.ubuntu.com precise-security/universe Sources
Get:3 http://ppa.launchpad.net trusty/main i386 Packages [20.4 kB]
Hit http://us.archive.ubuntu.com precise-security/multiverse Sources
Get:4 http://ppa.launchpad.net trusty/main Translation-en [10.8 kB]
Hit http://us.archive.ubuntu.com precise-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted amd64 Packages
Ign http://archive.ubuntu.com trusty/universe Translation-en_IN
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en_IN
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted i386 Packages
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net saucy Release.gpg
Hit http://ppa.launchpad.net saucy Release
Hit http://us.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://ppa.launchpad.net saucy/main amd64 Packages
Hit http://ppa.launchpad.net saucy/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://ppa.launchpad.net saucy/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Ign http://us.archive.ubuntu.com precise/main Translation-en_IN
Ign http://us.archive.ubuntu.com precise/multiverse Translation-en_IN
Ign http://us.archive.ubuntu.com precise/restricted Translation-en_IN
Ign http://us.archive.ubuntu.com precise/universe Translation-en_IN
Fetched 67.2 kB in 27s (2,484 B/s)
Reading package lists... Done
root@creative:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Old 01-12-2016, 09:01 PM   #8
jon lee
Member
 
Registered: Jul 2013
Posts: 113

Rep: Reputation: Disabled
Quote:
synaptic is already the newest version.
It's a GUI program. Can be found in the menu or:
Code:
gksu synaptic
(but it does look like your repositories are messed up. It can also be used to edit those.)
 
Old 01-13-2016, 10:47 PM   #9
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jon lee View Post
It's a GUI program. Can be found in the menu or:
Code:
gksu synaptic
(but it does look like your repositories are messed up. It can also be used to edit those.)
Hello,

it can't open.i searched in dash home and it asking password after i entered password it can't open.through terminal also it can't open.
 
Old 01-14-2016, 11:58 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Code:
carlcj@creative:~$ sudo -i
[sudo] password for carlcj:
root@creative:~# sudo -i
root@creative:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@creative:~# apt-get update
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://dl.google.com stable/main i386 Packages
Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.canonical.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Ign http://dl.google.com stable/main Translation-en_IN
Hit http://us.archive.ubuntu.com precise-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com precise-updates InRelease
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner Sources
Hit http://us.archive.ubuntu.com precise-backports InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://extras.ubuntu.com precise/main amd64 Packages
Ign http://ppa.launchpad.net saucy InRelease
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.canonical.com precise/partner Translation-en
Hit http://us.archive.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:2 http://ppa.launchpad.net trusty/main amd64 Packages [20.5 kB]
Hit http://us.archive.ubuntu.com precise-security/universe Sources
Get:3 http://ppa.launchpad.net trusty/main i386 Packages [20.4 kB]
Hit http://us.archive.ubuntu.com precise-security/multiverse Sources
Get:4 http://ppa.launchpad.net trusty/main Translation-en [10.8 kB]
Hit http://us.archive.ubuntu.com precise-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted amd64 Packages
Ign http://archive.ubuntu.com trusty/universe Translation-en_IN
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en_IN
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted i386 Packages
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net saucy Release.gpg
Hit http://ppa.launchpad.net saucy Release
Hit http://us.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://ppa.launchpad.net saucy/main amd64 Packages
Hit http://ppa.launchpad.net saucy/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://ppa.launchpad.net saucy/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Ign http://us.archive.ubuntu.com precise/main Translation-en_IN
Ign http://us.archive.ubuntu.com precise/multiverse Translation-en_IN
Ign http://us.archive.ubuntu.com precise/restricted Translation-en_IN
Ign http://us.archive.ubuntu.com precise/universe Translation-en_IN
Fetched 67.2 kB in 27s (2,484 B/s)
Reading package lists... Done
root@creative:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
well at least it doesn't complain about broken packages anymore!
now if you try this:
Code:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
again, what do you get?




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...

Last edited by ondoho; 01-14-2016 at 12:00 PM.
 
Old 01-14-2016, 09:28 PM   #11
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
Code:
carlcj@creative:~$ sudo -i
[sudo] password for carlcj:
root@creative:~# sudo -i
root@creative:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@creative:~# apt-get update
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://dl.google.com stable/main i386 Packages
Ign http://archive.canonical.com precise InRelease
Ign http://extras.ubuntu.com precise InRelease
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.canonical.com precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Ign http://dl.google.com stable/main Translation-en_IN
Hit http://us.archive.ubuntu.com precise-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com precise Release
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com precise-updates InRelease
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com precise/main Sources
Hit http://archive.canonical.com precise/partner Sources
Hit http://us.archive.ubuntu.com precise-backports InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://extras.ubuntu.com precise/main amd64 Packages
Ign http://ppa.launchpad.net saucy InRelease
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.canonical.com precise/partner Translation-en
Hit http://us.archive.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:2 http://ppa.launchpad.net trusty/main amd64 Packages [20.5 kB]
Hit http://us.archive.ubuntu.com precise-security/universe Sources
Get:3 http://ppa.launchpad.net trusty/main i386 Packages [20.4 kB]
Hit http://us.archive.ubuntu.com precise-security/multiverse Sources
Get:4 http://ppa.launchpad.net trusty/main Translation-en [10.8 kB]
Hit http://us.archive.ubuntu.com precise-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted amd64 Packages
Ign http://archive.ubuntu.com trusty/universe Translation-en_IN
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en_IN
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted i386 Packages
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net saucy Release.gpg
Hit http://ppa.launchpad.net saucy Release
Hit http://us.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://ppa.launchpad.net saucy/main amd64 Packages
Hit http://ppa.launchpad.net saucy/main i386 Packages
Hit http://us.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://ppa.launchpad.net saucy/main Translation-en
Hit http://us.archive.ubuntu.com precise-security/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Ign http://us.archive.ubuntu.com precise/main Translation-en_IN
Ign http://us.archive.ubuntu.com precise/multiverse Translation-en_IN
Ign http://us.archive.ubuntu.com precise/restricted Translation-en_IN
Ign http://us.archive.ubuntu.com precise/universe Translation-en_IN
Fetched 67.2 kB in 27s (2,484 B/s)
Reading package lists... Done
root@creative:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
well at least it doesn't complain about broken packages anymore!
now if you try this:
Code:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
again, what do you get?




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.
So what can i do for chrome? can i uninstall it?

Last edited by Carl_cj; 01-14-2016 at 09:31 PM.
 
Old 01-15-2016, 12:30 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.

Last edited by ondoho; 01-15-2016 at 12:34 AM.
 
Old 01-15-2016, 10:55 PM   #13
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
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.
i run what u suggest then after again i run
Code:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
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
Code:
Unable to run mksdcard SDK tool
.this is what happens initially.
 
Old 01-21-2016, 12:32 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
how did you install the android sdk in the first place?
 
Old 01-21-2016, 10:51 AM   #15
Carl_cj
Member
 
Registered: Sep 2014
Distribution: Slackware,Linux From Scratch
Posts: 254

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
how did you install the android sdk in the first place?
i downloaded the android studio.deb and execute after completing it tried to install sdk there i was getting the error
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to install Androd SDK but I get "Failed to create directory android_sdk_/temp" Geet Linux - Newbie 3 06-23-2011 05:33 AM
how to install Android SDK kiruja Linux - Newbie 1 05-17-2011 01:07 PM
LXer: How to install android sdk 1.6 on Ubuntu 9.04 LXer Syndicated Linux News 0 09-18-2009 07:50 PM
LXer: Sdk offers "natural" handwriting input for Linux devices LXer Syndicated Linux News 0 06-10-2006 06:33 AM
Eclipse SDK v3.0 running problem: "Permission denied" AlexDunnCpp Linux - Newbie 1 08-03-2004 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration