[MYSQL] NO_PUBKEY error in apt update

환경

OS : Ubuntu 20.04
MYSQL : 8.0.26

 

 

발생에러

Err:1 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: 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.

 

 

원인

URL :
https://docs.oracle.com/cd/E17952_01/mysql-8.0-relnotes-en/news-8-0-28.html#mysqld-8-0-28-packaging
https://dev.mysql.com/doc/refman/8.0/en/checking-gpg-signature.html

The GnuPG build key used to sign MySQL downloadable packages has been updated. The previous GnuPG build key is set to expire on 2022-02-16. For information about verifying the integrity and authenticity of MySQL downloadable packages using GnuPG signature checking, or to obtain a copy of our public GnuPG build key, see Signature Checking Using GnuPG.

 

 

해결

URL : https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-repo-manual-setup

apt-key adv --keyserver pgp.mit.edu --recv-keys 3A79BD29

 

About KENNETH 17231 Articles
지락문화예술공작단

Be the first to comment

Leave a Reply

Your email address will not be published.


*


이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.