Some index files failed to download

i’m trying using apt-get update but i got this message

Get:1 http: // free.nchc.org.tw/kali kali-rolling InRelease [41.5 kB]
Err:1 http: // free.nchc.org.tw/kali kali-rolling InRelease
Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
Fetched 41.5 kB in 4s (9,391 B/s)
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: http: // free.nchc.org.tw/kali kali-rolling InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
W: Some index files failed to download. They have been ignored, or old ones used instead.

what should i do to fix it? i’m new to linux, so i’m confused about thins like this.

There is a blog post about it A New Kali Linux Archive Signing Key | Kali Linux Blog You have to manually import a new key sudo wget https://archive.kali.org/archive-keyring.gpg -O /usr/share/keyrings/kali-archive-keyring.gpg

1 Like

it worked, thank you so much