解决W: Failed to fetch xxx The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxx
解决方法1
pkg i gnupg -y
apt-key adv --keyserver keys.gnupg.net --recv-keys 报错的key
就是NO_PUBKEY后面的那串
解决方法2
首先打开报错了的apt源的网站,找gpg key,复制链接
wget -q -O - 链接 | apt-key add
扫描二维码,在手机上阅读!
Pay by AliPay