Hi, so I have installed nethunter into my Nexus 7 tablet about half a year ago. I am trying to upgrade the mana-toolkit, and then add my own configuration settings from the PC end. However, I ran into a serious roadblock. I can't seem to upgrade nethunter from the version I originally installed it as, 3.1.1 to a kernel of at least 3.2 or higher, as required by some of the updates.

I first started by SSHing into the tablet.

root@WRT54G:/run/user/0/gvfs/mtp:host=%5Busb%3A003%2C015%5D/Internal storage/nh_files/configs# ssh 10.0.1.62
The authenticity of host '10.0.1.62 (10.0.1.62)' can't be established.
ECDSA key fingerprint is SHA256:CENSORED BY ORIGINAL POSTER
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.0.1.62' (ECDSA) to the list of known hosts.
[email protected]'s password:

The programs included with the Kali GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Sep 15 03:46:17 2016

Then I started with apt-get update

root@kali:/etc# apt-get update
Get:1 http://old.kali.org sana InRelease [20.3 kB]
Get:2 http://old.kali.org moto InRelease [20.3 kB]
Hit http://old.kali.org sana/main armhf Packages
Hit http://old.kali.org sana/non-free armhf Packages
Get:3 http://http.kali.org kali-rolling InRelease [30.5 kB]
Hit http://old.kali.org sana/contrib armhf Packages
Get:4 http://http.kali.org kali-rolling/main armhf Packages [14.1 MB]
Hit http://old.kali.org moto/main armhf Packages
Hit http://old.kali.org moto/non-free armhf Packages
Hit http://old.kali.org moto/contrib armhf Packages
Additional text printout shortened. To get it under the 10,000 character limit
Reading package lists... Done

I then double-checked the version of Kali on the tablet

root@kali:/etc/apt# uname -a
Linux kali 3.1.10-Bricked-v0.591-g0a2e5f6 #2 SMP PREEMPT Tue Oct 27 23:53:13 UTC 2015 armv7l GNU/Linux

I thought what I saw before, repositories referring to Sana and Old was kinda weird. So I checked the contents of my sources list. I vaguely remembered what I did months ago. But, I did append my own notes and comments with a # sign because this was what I originally found at the time
root@kali:/etc/apt# cat sources.list
deb http://old.kali.org/kali sana main non-free contrib
#Old sana repository, probably needed to upgrade kernel

deb http://old.kali.org/kali moto main non-free contrib
#Old 1.0 repository, probably needed to upgrade kernel

deb http://http.kali.org/kali kali-rolling main contrib non-free
#Brand new official rolling repository

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

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

I then tried to get the newest version out of the nethunter repository and got this
root@kali:/etc/apt# apt-get install kali-linux-nethunter
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
kali-linux-nethunter : Depends: php
libc-dev-bin : Depends: libc6 (> 2.23) but 2.19-18 is to be installed
libc6-dev : Depends: libc6 (= 2.23-5) but 2.19-18 is to be installed
locales : Depends: libc-bin (> 2.23) but 2.19-18 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Tried apt-get -f install to get my dependencies fixed

root@kali:/etc/apt# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libcanberra-gtk3-0 libcanberra-gtk3-module libelfg0 libopenvg1-mesa libperl4-corelibs-perl python-support python-twisted-conch python-twisted-lore python-twisted-mail python-twisted-names python-twisted-news
python-twisted-runner python-twisted-words ruby-yajl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libc-bin libc-dev-bin libc-l10n libc6 libc6-dev linux-libc-dev locales locales-all
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc-dev-bin libc-l10n libc6 libc6-dev linux-libc-dev locales locales-all
8 upgraded, 0 newly installed, 0 to remove and 630 not upgraded.
5 not fully installed or removed.
Need to get 13.8 MB of archives.
After this operation, 440 kB of additional disk space will be used.

And then a dist-upgrade

root@kali:/etc/apt# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libc-dev-bin : Depends: libc6 (> 2.24) but 2.19-18 is installed
libc6-dev : Depends: libc6 (= 2.24-5) but 2.19-18 is installed
locales : Depends: libc-bin (> 2.24) but 2.19-18 is installed
E: Unmet dependencies. Try using -f.

So I am guessing I need to wipe the tablet, clear out everything, re-lock it, re-unlock it, re-install nethunter? Or should I like, take off the # signs on the other repositories and see what happens when I try apt-get -f install and apt-get upgrade and apt-get dist-upgrade again?

Is there a 3.2 version out there? I did do a full reinstall before. The version available on the official website seems to be the same version, Nethunter 3.0 Grouper