NOOB2017 Posted May 9, 2017 Share Posted May 9, 2017 Hi, I have a nexus 5 and I've installed Kali nethunter on there with no problems but I've tried to run commands such as apt-get update, apt-get install ect.. but it always says err 404 and the E: failed to fetch some archives maybe run apt-get update or try with --fix-missing? Can anyone please help explain how I can fix this, thanks Quote Link to comment Share on other sites More sharing options...
Rkiver Posted May 9, 2017 Share Posted May 9, 2017 https://github.com/offensive-security/kali-nethunter/issues/592 A quick google gives that, while it is for the Nexus 6, it then linked to http://security.kali.org/README which covered what the issue was and how to resolve it. Quote Link to comment Share on other sites More sharing options...
NOOB2017 Posted May 9, 2017 Author Share Posted May 9, 2017 17 minutes ago, Rkiver said: https://github.com/offensive-security/kali-nethunter/issues/592 A quick google gives that, while it is for the Nexus 6, it then linked to http://security.kali.org/README which covered what the issue was and how to resolve it. I've found that but there is no instructions or information on how to change the repositories on a nexus 5? Quote Link to comment Share on other sites More sharing options...
digip Posted May 10, 2017 Share Posted May 10, 2017 You shouldn't need to change repositories. The tools are specific to NetHunter, don't try installing some third party repo of tools or from the main desktop branches, they need to be for the android devices from the NetHunter repos. Kali NetHunter will have the proper repos for it(although might not have rolling in the default downloads form our site). Make sure you have an internet connection on the device and then try the meta packages to install them in bundles for what you need. https://github.com/offensive-security/kali-nethunter/wiki/NetHunter-Chroot-Manager If these still fail, try removing and installing one from the nightly builds. - https://build.nethunter.com/nightly/ You'll have to figure out which above is the version you need from the nightly files though. I don't have a Nethunter compatible device, so I can't test along side you, but NetHunter is one that a lot of people use, and support is more community driven by other users. Check the Kali forums as well, they probably have answered similar issues before. forums.kali.org There is an entire section devoted to NetHunter questions and issues. Good luck! Quote Link to comment Share on other sites More sharing options...
NOOB2017 Posted May 10, 2017 Author Share Posted May 10, 2017 1 hour ago, digip said: You shouldn't need to change repositories. The tools are specific to NetHunter, don't try installing some third party repo of tools or from the main desktop branches, they need to be for the android devices from the NetHunter repos. Kali NetHunter will have the proper repos for it(although might not have rolling in the default downloads form our site). Make sure you have an internet connection on the device and then try the meta packages to install them in bundles for what you need. https://github.com/offensive-security/kali-nethunter/wiki/NetHunter-Chroot-Manager If these still fail, try removing and installing one from the nightly builds. - https://build.nethunter.com/nightly/ You'll have to figure out which above is the version you need from the nightly files though. I don't have a Nethunter compatible device, so I can't test along side you, but NetHunter is one that a lot of people use, and support is more community driven by other users. Check the Kali forums as well, they probably have answered similar issues before. forums.kali.org There is an entire section devoted to NetHunter questions and issues. Good luck! Thanks dude! Really appreciate your help, I'll try some of those things now! Quote Link to comment Share on other sites More sharing options...
Dedsec_Nethunter Posted May 17, 2017 Share Posted May 17, 2017 On 09/05/2017 at 5:27 PM, NOOB2017 said: Hi, I have a nexus 5 and I've installed Kali nethunter on there with no problems but I've tried to run commands such as apt-get update, apt-get install ect.. but it always says err 404 and the E: failed to fetch some archives maybe run apt-get update or try with --fix-missing? Can anyone please help explain how I can fix this, thanks Hi, My friend you need absolutely to change your sources list if you don't want troubles in the futur. Go to play store and install root browser: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en After installation go to: data/local/nhsystem/kali-armhf/etc/apt/sources.list Delete anything inside txt file and add the last sources: 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 After that,all should be ok for any update. Quote Link to comment Share on other sites More sharing options...
digip Posted May 17, 2017 Share Posted May 17, 2017 Try: su -c bootkali cat /etc/apt/sources.list If you're on security.kali.org, you can switch to sana (pre 2.0 rolling) by changing to old.kali.org for your sources (which may be removed in the future) or change to deb http://http.kali.org/kali kali-rolling main contrib non-free to be on the latest kali rolling and then update. I would usggest using the gui app for chroot and package updating, but you can change your source list for udpates. The root for nethunter is /data/local/kali-armhf/ and not your phones default /etc, so keep in mind what/where you are in the system, since you dont want to mess with the android's OS side, let the chroot do its job. You shouldn't need third party apps, except the Offsec NetHunter app Quote Link to comment Share on other sites More sharing options...
NOOB2017 Posted May 17, 2017 Author Share Posted May 17, 2017 8 hours ago, Dedsec_Nethunter said: Hi, My friend you need absolutely to change your sources list if you don't want troubles in the futur. Go to play store and install root browser: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en After installation go to: data/local/nhsystem/kali-armhf/etc/apt/sources.list Delete anything inside txt file and add the last sources: 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 After that,all should be ok for any update. It worked!!! Thanks dude Quote Link to comment Share on other sites More sharing options...
Dedsec_Nethunter Posted May 22, 2017 Share Posted May 22, 2017 On 17/05/2017 at 9:07 PM, NOOB2017 said: It worked!!! Thanks dude No prob,glad to help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.