Skip to content

Instantly share code, notes, and snippets.

@pichuang
Last active May 17, 2024 04:59
Show Gist options
  • Save pichuang/dfde2e34a1f39cadaec7 to your computer and use it in GitHub Desktop.
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
@hackerhackx
Copy link

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

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

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
Copy link

aziz-sab commented Jun 6, 2022

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
Copy link

Rixker0-Sarkar0 commented Jun 7, 2022

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
Copy link

Hmani11 commented Mar 30, 2023

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
Copy link

ou1355 commented Mar 30, 2023

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

@Zsouza7612
Copy link

ok im usine a p4wnp1 aloa ive updates souces dns still can't update any help please been looking everywhere

@kahlawi
Copy link

kahlawi commented Mar 2, 2024 via email

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