Aktuell kann es zu einer Konstellation kommen, wo ein apt-get update
auf einem Linux-Server, auf dem MySQL installiert ist, zu folgender Ausgabe führen kann:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Some index files failed to download. They have been ignored, or old ones used instead.
Problem ist, dass die Signaturen nicht verifiziert werden können, da kein passender Public Key gefunden wurde. Beheben lässt sich das Problem durch folgenden Befehl:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29
Anschließend sollte apt-get update
wieder korrekt funktionieren.