Results 1 to 8 of 8

Thread: Problem with update on new install Nexus 5

  1. #1

    Problem with update on new install Nexus 5

    I reset and rooted my Nexus 5, and then installed Nethunter 3.0. After running Nethunter, I'm unable to add Metapackages. Running apt-get update fails with a bunch of errors:

    W: Failed to fetch http://security.kali.org/kali/dists/...armhf/Packages 404 Not Found
    W: Failed to fetch http://http.kali.org/kali/dists/sana...armhf/Packages 404 Not Found
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    I tried modifying the sources.list file, and symptoms changed, and I could actually install a few packages, but others fail, apt-get update fails, and Metapackages fail.

    How can I fix updates?

    Thanks!

  2. #2
    Try this:
    wget -q -O - archive.kali.org/archive-key.asc | apt-key add

  3. #3
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326
    So what did you chnge sources.list to?

  4. #4
    I modified it many times, and don't remember them all After lots of messing around, I found a post about the repositories, and changed it to this:

    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

    I stopped getting errors, but now I can't seem to do anything. Before, I believe a terminal window was left open after the repository failed, and I used that window to run apt-get. Now I can't get that terminal window back. In the Nethunter app, there doesn't appear to be any way to open a terminal directly. If I run the Nethunter Terminal app, I get a choice between kali, android, and androidsu. If I choose kali, it just exits (leaving messages about 'no title', and about Nethunter Terminal being granted SU permissions), but if I choose either of the Android ones, I can't do much in the terminal. sudo apt-get returns a not found error. Same with wifite, which I believe I installed (Maybe I wiped, so not sure), although aircrack-ng runs.

    While clicking 'check app update' in the Nethunter App never worked, I found and installed the latest app. Not sure if that's a factor.

  5. #5
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Quote Originally Posted by RChadwick View Post
    I modified it many times, and don't remember them all After lots of messing around, I found a post about the repositories, and changed it to this:

    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
    Looks good

    Quote Originally Posted by RChadwick View Post
    I found and installed the latest app. Not sure if that's a factor.
    Did you try this one?
    https://github.com/offensive-securit...es/tag/v2019.1

    That version should solve the problem of the terminal window exiting on you.

  6. #6
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326
    My guess is you may have messed something up with the install when changing around the repos so many times.
    Can you boot into recovery mode (twrp?) and reinstall the nethunter image, then reconfigure the repo (again!), then try to update!

  7. #7
    Thanks for the help. I've flashed new images, and updates are good now.

  8. #8
    Join Date
    2016-Dec
    Location
    Canada
    Posts
    326
    Good to know

Similar Threads

  1. Replies: 0
    Last Post: 2015-06-08, 02:31
  2. Nexus 5 Install Problem
    By Muglair in forum Installing NetHunter
    Replies: 1
    Last Post: 2015-01-08, 00:54

Posting Permissions

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