Results 1 to 3 of 3

Thread: Cannot upgrade from Kali Nethunter 3.1.1 to 3.2+

  1. #1
    Join Date
    2016-Aug
    Posts
    9

    Cannot upgrade from Kali Nethunter 3.1.1 to 3.2+

    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.
    root@10.0.1.62'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

  2. #2
    Join Date
    2014-Mar
    Posts
    158
    Kali Sana repository will be not upgraded anymore , and that is the reason why there is "old" in the repository link .
    Kali is now in rooling distribution , witch means that receives updates almost everyday .
    Kali rooling have a different repositories links as you can watch on this page :
    http://docs.kali.org/general-use/kal...t-repositories

    and kali rolling also support armel and armf devices , as you can see in this pool package example :
    http://http.kali.org/kali/pool/main/libc/libc++/

    So , if you want to upgrade your nethunter then i believe that you should remove those links from sources.list and add the rolling repositories .
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    Then do an apt-get update and an apt-get upgrade .
    Last edited by pedropt; 2016-12-10 at 11:16.

  3. #3
    Join Date
    2018-Feb
    Posts
    4
    This fixed the issue for me, may help for others:
    1. Uninstall nethunter chroot and completely uninstall nethunter
    2. Reinstall nethunter
    3. Change repo to:
    deb http://old.kali.org/kali sana main non-free contrib
    and remove all other repo's
    4. apt-get update
    5. apt-get upgrade

Similar Threads

  1. 3.20-20170903-2143 Nethunter Issues - ath9k_htc Req Firmware Upgrade
    By extreme.seventh in forum NetHunter General Questions
    Replies: 2
    Last Post: 2017-09-12, 02:58
  2. Kali 2016.2 messed up Desktop after after upgrade/dist-upgrade
    By SpectrE_Fth in forum TroubleShooting Archive
    Replies: 9
    Last Post: 2017-02-13, 10:26
  3. Nexus 5 nethunter upgrade from lolipop (5.1.1) to Marshmallow
    By bari91 in forum NetHunter General Questions
    Replies: 0
    Last Post: 2016-07-11, 15:37
  4. Nexus 7 don't boot after upgrade Kali Nethunter 3
    By tXambe in forum Installing NetHunter
    Replies: 7
    Last Post: 2016-01-28, 04:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •