0

I installed kali on my acer predator helios 300 alongside Windows 10. I couldn't get past the login screen because it gets stuck after entering the credentials. So I googled it and found the issue was with some graphic drivers and so I ctrl+alt+f2 ed at the login screen and got a terminal. My sources.list file was like this

#deb cdrom:[Debian GNU/Linux 2018.4 _Kali-rolling -  Official Snapshot amd64 LIVE/INSTALL Binary 20181016-16:07] kali-last-snapshot contrib main non-free
#This system was installed using small removable media
#(e.g. netinst, live or single CD). The matching "deb cdrom"
#entries were disabled at the end of the installation process
#For information about how to configure apt package sources
#see the sources.list(5) manual

So I added this line to the sources.list file to update apt and install Nvidia drivers.

deb http://http.kali.org/kali/dists/kali-rolling main contrib non-free

And when I run apt-get update it says

Ign:1 http://http.kali.org/kali/dists/kali-rolling main InRelease
Err:2 http://http.kali.org/kali/dists/kali-rolling main Release
 404 Not Found [IP: 192.99.200.113 80]
Reading package lists... Done
E: The repository 'http://http.kali.org/kali/dists/kali-rolling main Release' does not have a release file.
N: Updating from suck a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

marked as duplicate by Rui F Ribeiro, Jeff Schaller, GAD3R, telcoM, Thomas Feb 16 at 8:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

You'll want to read 05. Using Kali Linux / Kali sources.list Repositories, which gives the correct entry for your sources.list file:

deb http://http.kali.org/kali kali-rolling main non-free contrib

Not the answer you're looking for? Browse other questions tagged or ask your own question.