-1

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.
Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255
Kira
  • 11
  • 1
  • 1
  • 2

1 Answers1

4

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
Chris Davies
  • 116,213
  • 16
  • 160
  • 287