I downloaded the build key for 8.0.27, put it in a file (public_key.asc) and did:
>gpg --import public_key.asc
Here's the output:
alan ~ $gpg --import public_key.asc
gpg: key 8C718D3B5072E1F5: 6 duplicate signatures removed
gpg: key 8C718D3B5072E1F5: 106 signatures not checked due to missing keys
gpg: key 8C718D3B5072E1F5: "MySQL Release Engineering <mysql-build@oss.oracle.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Next, I downloaded the build key for 8.0.28, put it in a file (public_key2.asc, and did:
>gpg import public_key2.asc
The output:
alan ~ $gpg --import public_key2.asc
gpg: key 467B942D3A79BD29: public key "MySQL Release Engineering <mysql-build@oss.oracle.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
Success, right?
But when I tried again "apt update" I still got the error
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
The NO_PUBKEY 467.... is the same as the one that was successfully imported.
???????
Thanks,
Alan Shank