PDA

View Full Version : apt-get update not working all of a sudden



senseisean
2020-03-16, 04:35
I've tried using a few different sources lists but settled on the one that seems to be official: deb http://kali.download/kali/ kali-rolling main contrib non-free

Regardless of the content of my sources list, I keep getting this error. I'm running this in vmware fusion, has been working fine until I was trying to install node and npm (which I was also having troubles installing, but I'll save that for another time). Here's what I ran and its output:

root@kali:/etc/apt# apt-get update
Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.download/kali kali-rolling/main amd64 Packages [16.5 MB]
Ign:3 https://download.docker.com/linux/debian kali-rolling InRelease
Err:4 https://download.docker.com/linux/debian kali-rolling Release
404 Not Found [IP: 99.84.248.47 443]
Get:5 http://kali.download/kali kali-rolling/contrib amd64 Packages [96.4 kB]
Get:6 http://kali.download/kali kali-rolling/non-free amd64 Packages [193 kB]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian kali-rolling 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.

thorin88
2020-05-07, 15:26
I've had the same problem for a couple of months now.
I am surprised there has been no response to this in the time it has been here

Here is a cut from my last update/upgrade today:

E: Failed to fetch http://http.kali.org/kali/pool/main/p/python3-defaults/python3-dev_3.8.2-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python3-defaults/python3-minimal_3.8.2-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python3-defaults/python3_3.8.2-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python3-defaults/libpython3-dev_3.8.2-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python3-defaults/libpython3-stdlib_3.8.2-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/r/redis/redis-server_5.0.7-3_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/r/redis/redis-tools_5.0.7-3_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/w/webkit2gtk/libwebkit2gtk-4.0-37_2.28.1-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/w/webkit2gtk/libjavascriptcoregtk-4.0-18_2.28.1-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/w/webkit2gtk/gir1.2-webkit2-4.0_2.28.1-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/w/webkit2gtk/gir1.2-javascriptcoregtk-4.0_2.28.1-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/s/sslyze/sslyze_3.0.2-0kali1_all.deb 404 Not Found [IP: 192.99.200.113 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
codifiedlikenessutility@WarMachine:~$ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
codifiedlikenessutility@WarMachine:~$ sudo apt-get update
[sudo] password for codifiedlikenessutility:
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Ign:2 https://apt.dockerproject.org/repo debian-stretch InRelease
Err:3 https://apt.dockerproject.org/repo debian-stretch Release
404 Not Found [IP: 99.84.181.53 443]
Get:4 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Reading package lists... Done
E: The repository 'https://apt.dockerproject.org/repo debian-stretch Release' no longer has 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.
E: Release file for http://http.kali.org/kali/dists/kali-rolling/InRelease is not valid yet (invalid for another 41min 58s). Updates for this repository will not be applied.
codifiedlikenessutility@WarMachine:~$ sudo apt-get update --fix-missing
Ign:1 https://apt.dockerproject.org/repo debian-stretch InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Err:3 https://apt.dockerproject.org/repo debian-stretch Release
404 Not Found [IP: 13.249.43.67 443]
Get:4 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Reading package lists... Done
E: The repository 'https://apt.dockerproject.org/repo debian-stretch Release' no longer has 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.
E: Release file for http://http.kali.org/kali/dists/kali-rolling/InRelease is not valid yet (invalid for another 41min 33s). Updates for this repository will not be applied.