PDA

View Full Version : Unable to install google-nexus-tools



dave5623
2014-09-25, 14:37
I have been unsuccessful in trying to apt-get install google-nexus-tools in order interact with my nexus device. I've tried this across several different VMs of Kali, 32 bit and 64 bit, with no success. The error message I have been running into has been:


The following packages have unmet dependencies:
google-nexus-tools : Depends: lib32stdc++6 but it is not installable
E: Unable to correct problems, you have held broken packages.


Here is a snippet of how I have tried to install google-nexus-tools


root@kali:~# apt-get update && apt-get dist-upgrade -y
Hit http://security.kali.org kali/updates Release.gpg
...
Reading package lists... Done
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.
root@kali:~# uname -a
Linux kali 3.12-kali1-486 #1 Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux
root@kali:~# apt-get install google-nexus-tools
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:
google-nexus-tools : Depends: lib32stdc++6 but it is not installable
E: Unable to correct problems, you have held broken packages.


Searching for anyone with similar issues to this has not returned anything. Attempting to apt-get install the lib32stdc++6 package directly is also unsuccessful:


root@kali:~# apt-get install lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32stdc++6 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 'lib32stdc++6' has no installation candidate


It doesn't seem like there is much wiggle room to be doing something wrong. Can anyone offer advice on what I can look into next?

muts
2014-09-25, 23:12
Check your /etc/apt/sources.list, and make sure they look like this : http://docs.kali.org/general-use/kali-linux-sources-list-repositories

dave5623
2014-09-26, 12:47
Unfortunately that didn't work for me. I added the deb-src for security and the bleeding-edge repos and ended up with the same result.

If I were to download a new copy of Kali and try this fresh, is there an optimal version to use (i586 vs amd64 vs VM with vmtools pre-installed)? So far I've just used older versions of Kali with the vmtools pre-installed but they had apt-get update && apt-get dist-upgrade run prior to attempting to install google-nexus-tools. Thanks for the advice!



root@kali:~# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130308-09:26]/ kali contrib main non-free

#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130308-09:26]/ kali contrib main non-free

deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib

## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free

# just added
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main
root@kali:~# apt-get update && apt-get dist-upgrade -y
Hit http://dl.google.com stable Release.gpg
Hit http://repo.kali.org kali-bleeding-edge Release.gpg
Hit http://dl.google.com stable Release
Hit http://repo.kali.org kali-bleeding-edge Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://repo.kali.org kali-bleeding-edge/main i386 Packages
Hit http://security.kali.org kali/updates Release.gpg
Hit http://http.kali.org kali Release.gpg
Ign http://dl.google.com stable/main Translation-en_US
Hit http://security.kali.org kali/updates Release
Ign http://repo.kali.org kali-bleeding-edge/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Hit http://http.kali.org kali Release
Ign http://repo.kali.org kali-bleeding-edge/main Translation-en
Hit http://security.kali.org kali/updates/main Sources
Hit http://http.kali.org kali/main Sources
Hit http://security.kali.org kali/updates/contrib Sources
Hit http://http.kali.org kali/non-free Sources
Hit http://security.kali.org kali/updates/non-free Sources
Hit http://http.kali.org kali/contrib Sources
Hit http://security.kali.org kali/updates/main i386 Packages
Hit http://http.kali.org kali/main i386 Packages
Hit http://security.kali.org kali/updates/contrib i386 Packages
Hit http://http.kali.org kali/non-free i386 Packages
Hit http://security.kali.org kali/updates/non-free i386 Packages
Hit http://http.kali.org kali/contrib i386 Packages
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://http.kali.org kali/contrib Translation-en_US
Ign http://security.kali.org kali/updates/main Translation-en_US
Ign http://http.kali.org kali/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://http.kali.org kali/main Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://http.kali.org kali/main Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en
Ign http://http.kali.org kali/non-free Translation-en_US
Ign http://http.kali.org kali/non-free Translation-en
Reading package lists... Done
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.
root@kali:~# apt-get install google-nexus-tools
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:
google-nexus-tools : Depends: lib32stdc++6 but it is not installable
E: Unable to correct problems, you have held broken packages.

kali-86
2014-10-14, 03:43
did you manage to get it installed ok?

muts
2014-10-14, 08:22
This package has been fixed upstream (in the kali repos) and is working now.