报错内容:
W: GPG error: https://mirrors.aliyun.com/mariadb/repo/10.5/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8
E: The repository 'https://mirrors.aliyun.com/mariadb/repo/10.5/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
输入:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F1656F24C74CD1D8
错误提示你缺少哪个,你就输入哪一串比如这里的是:“F1656F24C74CD1D8”