Skip to content

Instantly share code, notes, and snippets.

@pichuang
Last active May 13, 2026 06:21
Show Gist options
  • Select an option

  • Save pichuang/dfde2e34a1f39cadaec7 to your computer and use it in GitHub Desktop.

Select an option

Save pichuang/dfde2e34a1f39cadaec7 to your computer and use it in GitHub Desktop.
Kali Linux source.list /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
#deb http://kali.cs.nctu.edu.tw/kali kali-rolling main non-free contrib
@Kalinux666

Copy link
Copy Markdown

They work pretty well from my experience with these repositories and I do recommend them. They will take a bit longer than usual because there are many of them, but they are pretty secure and reliable. The original repositories from the Kali Linux website have never worked for me, at all. I would use the apt-get install command and every time it gave me the same error: package not found. I recommend these repositories for anyone experiencing the same difficulties as I did. Juts type in your terminal xdg-open /etc/apt/sources.list and copy and paste these repositories. No #'s needed as far as I know.

@k4p3re

k4p3re commented Mar 19, 2020

Copy link
Copy Markdown

They code worked for me
How does one access the root account from another user account?

@djieunang4

Copy link
Copy Markdown

please any one can obtain the source for 2020.2 version

@Amoako-Manasseh

Copy link
Copy Markdown

please the repositories for 2020.2 version

@krishnendu282

krishnendu282 commented Oct 12, 2020

Copy link
Copy Markdown

Just refer the following site :
https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
It's a evergreen site, i.e you can go to above site any time and still get the most updated content.

@davy-tw

davy-tw commented Oct 12, 2020

Copy link
Copy Markdown

@djieunang4 @Amoako-Manasseh this repo should included 2020.2 version

Any problems to this repo, please contact mirror[at]linux.cs.nctu.edu.tw directly, thank you.

@Gunasekaran05

Copy link
Copy Markdown

Android kali linux.... 404 error while updating... Help me...

Same here

@kahlawi

kahlawi commented Dec 5, 2020 via email

Copy link
Copy Markdown

@krishnendu282

Copy link
Copy Markdown

@kahlawi

kahlawi commented Dec 8, 2020 via email

Copy link
Copy Markdown

@sufyan7978

Copy link
Copy Markdown

Man, Thank You So Much I've Been Trying To Solve This Problem From So Long...

@kahlawi

kahlawi commented Mar 7, 2021 via email

Copy link
Copy Markdown

@Rixker0-Sarkar0

Copy link
Copy Markdown

I just lost access to another account, so thought to notify, anyways new fork https://github.com/Rixker0-Sarkar0/turning-into-kali
Any queries just comment

@hackerhackx

Copy link
Copy Markdown

i have kali linux 2022, but i cant update my apt-get update it shows:
Ign:1 http://https.kali.org/kali kali-rolling InRelease
Ign:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy InRelease
Err:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy Release
404 Not Found [IP: 91.189.95.85 80]
Ign:1 http://https.kali.org/kali kali-rolling InRelease
Ign:1 http://https.kali.org/kali kali-rolling InRelease
Hit:3 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease
Err:1 http://https.kali.org/kali kali-rolling InRelease
Something wicked happened resolving 'https.kali.org:http' (-5 - No address associated with hostname)
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy Release' does not have a Release file.
N: Updating from such 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.
need help guys..

@Rixker0-Sarkar0

Copy link
Copy Markdown

i have kali linux 2022, but i cant update my apt-get update it shows: Ign:1 http://https.kali.org/kali kali-rolling InRelease Ign:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy InRelease Err:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy Release 404 Not Found [IP: 91.189.95.85 80] Ign:1 http://https.kali.org/kali kali-rolling InRelease Ign:1 http://https.kali.org/kali kali-rolling InRelease Hit:3 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease Err:1 http://https.kali.org/kali kali-rolling InRelease Something wicked happened resolving 'https.kali.org:http' (-5 - No address associated with hostname) Reading package lists... Done E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy Release' does not have a Release file. N: Updating from such 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. need help guys..

solution:

  1. open up terminal
  2. type:- "sudo nano /etc/apt/sources.list"
  3. find 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy Release' and put a "#" before it.
  4. type 'apt update && apt upgrade -y'
    optional 5. encountered error? reply back, support would be long to get.

@eslam-mohamed-11

Copy link
Copy Markdown

help please!!!

this is the problem

Screenshot_2022-06-02_17_38_35

this is my source.list

Screenshot_2022-06-02_17_38_18

@aziz-sab

aziz-sab commented Jun 6, 2022

Copy link
Copy Markdown

use this

See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/

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

Additional line for source packages

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

@Rixker0-Sarkar0

Rixker0-Sarkar0 commented Jun 7, 2022

Copy link
Copy Markdown

Never follow any instructions other the stated on https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ and read and consider the documentation before before editing the sources.list file

@Hmani11

Hmani11 commented Mar 30, 2023

Copy link
Copy Markdown

help please!!!

this is the problem

Screenshot_2022-06-02_17_38_35

this is my source.list

Screenshot_2022-06-02_17_38_18

Plsss can you send this sources list to me ?

@ou1355

ou1355 commented Mar 30, 2023

Copy link
Copy Markdown

deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Thank you, by doing this method in the source list, the update was done

@kahlawi

kahlawi commented Mar 2, 2024 via email

Copy link
Copy Markdown

@Babakkish

Copy link
Copy Markdown

Hello friends, today I had a problem with the update and upgrade of Kali. Do you have a new list source?

@Babakkish

Copy link
Copy Markdown

Hello friends, today I had a problem with the update and upgrade of Kali. Do you have a new list source? Because the source lists of Kali are blocked

@cry2020

cry2020 commented Jul 31, 2024

Copy link
Copy Markdown

this didn't work

@sasankkona

sasankkona commented Aug 5, 2024

Copy link
Copy Markdown

yes same problem for me also. but I am getting error code: 503(which is server side error).is there any information that it is blocked.can I know?

@xenix4845

xenix4845 commented Oct 8, 2024

Copy link
Copy Markdown

http://mirror.amuksa.com is also available. It is operated in South Korea and shows fast speeds.

@SalarDoske

Copy link
Copy Markdown

@boldboy32

Just use official mirror (which will match fastest mirror depend on your location automatically) or try this on 2019.2:

deb http://kali.cs.nctu.edu.tw/kali kali-rolling main non-free contrib

This mirror is from Department of Computer Science, National Chaio Tung University, Taiwan. Maybe you can find some mirror from universities localed in India. ### :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment