View Issue Details

IDProjectCategoryView StatusLast Update
0008359Kali LinuxKali Package Bugpublic2025-07-14 09:16
ReporterDante.is.back Assigned Toarnaudr  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Product Versionkali-dev 
Summary0008359: South African unix users have an issue with 'apt-get' command
Description

Hi I am a user of Kali Linux and have 2020 version, and have an issue with apt-get, meaning any command requiring the apt command will not work, including 'update' 'upgrade', install etc. So I have seen on various forums that there are others witht he issue but none of them worked and they have different problems, my apt get will not connect at all, I have no network issue, it says connecting 0%, then it displays error messages mainly 404. I have tried all the alternative mirrors but then someone suggested it was due to the South African ip addresses for Kali repo mirrors, pointjng to a faulty one in Kenya, I am hoping not to be forced to use a vpn as my budget is not going to allow me to look into one otherwise that is a suggested fix. I am hoping there is some way I can alternatively make the repository point my DNS to use a mirror in maybe the USA, I'm not from there, so Is there a way to change that, can someone give me an alternative. Please do not remove my question I can rewrite and answer if it makes no sense, lol.

Much appreciated

Additional Information

As mentioned I have no vpn, and cannot budget for it now, but there is no guarantee it will work, I ahve tried several ISP so it is not the ISP, also not the network as I have used Wifi and hotspot. I do security work and research online so I really need this help urgently, thanks much

Activities

Dante.is.back

Dante.is.back

2023-06-14 16:54

reporter   ~0018180

apt-get update
Get:2 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]
Err:1 http://mirror.ufs.ac.za/linuxmint-packages kali-rolling InRelease
403 Forbidden [IP: 91.241.95.156 80]
Get:4 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,079 B]
Ign:5 https://deb.torproject.org/torproject.org stretch InRelease
Err:6 https://deb.torproject.org/torproject.org stretch Release
404 Not Found [IP: 204.8.99.146 443]
Get:3 https://kali.download/kali kali-rolling InRelease [41.2 kB]
Err:3 https://kali.download/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
Reading package lists... Done
E: Failed to fetch http://mirror.ufs.ac.za/linuxmint-packages/dists/kali-rolling/InRelease 403 Forbidden [IP: 91.241.95.156 80]
E: The repository 'http://mirror.ufs.ac.za/linuxmint-packages kali-rolling InRelease' is not signed.
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: The repository 'https://deb.torproject.org/torproject.org stretch 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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]

I have tried almost every method of changing signatures, keys nothing works, concerned about this please help.

My Kali is dual booted not VM.

Dante.is.back

Dante.is.back

2023-06-14 16:58

reporter   ~0018181

apt-get update
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Err:1 http://mirror.ufs.ac.za/linuxmint-packages kali-rolling InRelease
403 Forbidden [IP: 91.241.95.156 80]
Ign:4 https://deb.torproject.org/torproject.org stretch InRelease
Get:3 https://kali.download/kali kali-rolling InRelease [41.2 kB]
Err:5 https://deb.torproject.org/torproject.org stretch Release
404 Not Found [IP: 116.202.120.166 443]
Err:3 https://kali.download/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
Reading package lists... Done
E: Failed to fetch http://mirror.ufs.ac.za/linuxmint-packages/dists/kali-rolling/InRelease 403 Forbidden [IP: 91.241.95.156 80]
E: The repository 'http://mirror.ufs.ac.za/linuxmint-packages kali-rolling InRelease' is not signed.
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: The repository 'https://deb.torproject.org/torproject.org stretch 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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]

┌──(root�kali)-[~]
└─# cat /etc/apt/sources.list 100 ⨯
deb https://http.kali.org/kali kali-rolling main contrib non-free

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

Tried the original repositories

Dante.is.back

Dante.is.back

2023-06-14 17:06

reporter   ~0018182

curl -sl http://http.kali.org/README
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>

The document has moved <a href="http://kali.download/kali/README">here</a>.


<hr>
<address>Apache/2.4.10 (Debian) Server at http.kali.org Port 80</address>
</body></html>

┌──(root�kali)-[~]
└─# apt update
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Err:1 http://mirror.ufs.ac.za/linuxmint-packages kali-rolling InRelease
403 Forbidden [IP: 91.241.95.156 80]
Ign:3 https://deb.torproject.org/torproject.org stretch InRelease
Err:4 https://deb.torproject.org/torproject.org stretch Release
404 Not Found [IP: 116.202.120.165 443]
Get:5 https://kali.download/kali kali-rolling InRelease [41.2 kB]
Err:5 https://kali.download/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
Reading package lists... Done
E: Failed to fetch http://mirror.ufs.ac.za/linuxmint-packages/dists/kali-rolling/InRelease 403 Forbidden [IP: 91.241.95.156 80]
E: The repository 'http://mirror.ufs.ac.za/linuxmint-packages kali-rolling InRelease' is not signed.
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: The repository 'https://deb.torproject.org/torproject.org stretch 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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]

Also like to share that it starts by saying (connecting 0%), never goes above that network is fine as mentioned have tried different ISP and networks.

arnaudr

arnaudr

2023-06-15 01:54

manager   ~0018183

Last edited: 2023-06-15 01:55

I see in the logs above that you're mixing different apt repo, and almost none of them work...

In your description you said:

Hi I am a user of Kali Linux and have 2020 version

You should download latest image (2023.2) and restart from there. Otherwise, you can fix your error (EXPKEYSIG) by downloading the latest Kali keyring from:

https://kali.download/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2022.1_all.deb

Then install it: « sudo apt install ./kali-archive-keyring_2022.1_all.deb »

But then what, if you really have a 2020 version of Kali, and you plan to upgrade it to latest from Kali rolling... I think you're asking for trouble, I'm pretty sure it won't go smoothly. And it seems that you're not able to troubleshoot basic issues by yourself.

So I sincerely recommend that you download the latest installer image from https://www.kali.org/get-kali/#kali-installer-images and restart from scratch.

I'm also closing this issue as it's not a bug. For community support, I suggest you try the forums, or Discord chat, or IRC:

https://forums.kali.org / https://discord.kali.org / #kali-linux on IRC: https://oftc.net/

Issue History

Date Modified Username Field Change
2023-06-13 09:28 Dante.is.back New Issue
2023-06-14 16:54 Dante.is.back Note Added: 0018180
2023-06-14 16:58 Dante.is.back Note Added: 0018181
2023-06-14 17:06 Dante.is.back Note Added: 0018182
2023-06-15 01:54 arnaudr Note Added: 0018183
2023-06-15 01:55 arnaudr Note Edited: 0018183
2023-06-15 01:55 arnaudr Assigned To => arnaudr
2023-06-15 01:55 arnaudr Status new => closed
2023-06-15 01:55 arnaudr Resolution open => won't fix
2025-07-14 09:16 g0tmi1k Priority urgent => normal