apt update时出现签名没法验证,公钥失效的解决办法

错误信息以下

W: GPG error: http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6C

解决办法, 缺什么加什么

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 4F4EA0AAE5267A6C

如下是问题遇到和解决的过程详细图

相关文章
相关标签/搜索