Image -> https://postimg.cc/WtZ6QD3V <-Image
Hi all,
I just installed Kali Linux and ran:
sudo apt update But I got this error:
GPG error: http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 827CB569F2518CC677FECA1AED65462ECB5E4C5 E: The repository is not signed. I also saw warnings about apt-key being deprecated, and attempts to use curl | gpg returned a 404.
What I Want: I don’t care about using the Tsinghua mirror — I just want a clean fix using the official Kali sources and keys.
What I’ve Tried:
- Replacing the mirror in
/etc/apt/sources.listwith the official Kali one. - Using the modern
gpg --dearmormethod to import the official Kali archive key.
My sources.list [I copied it from chatgpt, its not the default one]
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ deb [signed-by=/etc/apt/keyrings/tuna-kali.gpg] http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main non-free contrib # Additional line for source packages # deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware Thanks in advance!