PDA

View Full Version : Installing google-nexus-tools, problem with lib32stdc++6 dependencies



kalam
2014-09-30, 23:44
Having a problem at the very initial stages of preparing a nexus device for Nethunter: can't seem to properly install google-nexus-tools via a laptop running kali 1.0.9.

I ran command as per Nethunter prep guide, ie;

apt-get update && apt-get -y install google-nexus-tools

Errors seem to be indicated as follows:

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


If I go to the next step suggested in the Net hunter prep guide, it looks like the google tools have failed to properly install and my kali laptop can't see the nexus device:

command that I run: nexus adb-devices

response from kali 1.0.9 command line: bash: nexus: command not found



...and I can't seem to install the depedency packages with a quick apt-get

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





...so it looks like I don't have the lib32stdc++6 dependencies.

I'm assuming that my solution is to install these?

If so how? Are there sources I should be adding something to my list at /etc/apt/sources.list ?

I currently have the following:

deb http://security.kali.org/kali-security kali/updates main contrib 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

If installing the lib32stdc++6 dependencies is not the solution, what do you guys think I could do?

My kali 1.0.9 is on a (crappy) ASUS F55A-SX039H
Intel Pentium B970 / 2,3 GHz
Was originally installed with Windows 8 64 bit (yes, that went away quickly), but only 32bit i386 flavors of kali have ever seemed to work on my machine - which is what I have for my 1.0.9 instance.

Cheers in advance for any advice.

hoanhdo
2014-10-02, 03:01
Dear kalam.

I resolved by install package lib32gcc1 and found this link https://packages.debian.org/squeeze/lib32stdc++6

Hope this help.

kalam
2014-10-02, 21:14
Hi hoanhdo. Thanks for quick reply.
Can't seem to get it to install. My machine isn't AMD 64, so the package/s won't load (lib32stdc++6 or lib32gcc1)
Any ideas?

hoanhdo
2014-10-08, 02:45
@kalam

What is your OS. If this is Kali Linux, you must add-architecture i386 then you can install 32bit lib.
This link you can install 32bit libraries https://forums.kali.org/showthread.php?827-How-to-install-ia32-libs.
If you use Ubuntu , so easy. Simple apt-get install librariesname

Hope this help.

muts
2014-10-08, 08:10
This dependency has been fixed in the kali linux repos.