Estou executando o Kali Linux no WSL2. É uma nova instalação (usando wsl --install
) mas quando tento apt-get update
recebo o seguinte erro:
W: An error occurred during the signature verification. The repository is not updated and the previous
index files will be used. GPG error: http://mirrors.jevincanders.net/kali kali-rolling InRelease: The
following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures
were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Agora eu vi outras perguntas que sugerem um apt-key
comando para corrigir isso. No entanto, isso lança outro erro:
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
Não consigo instalar o gnupg porque ainda não executei apt update
. O que devo fazer aqui?