ubuntu 报错:“The following signatures couldn't be verified because the public key is not available”

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012551524/article/details/85803233

报错:GPG error: https://apt.2ndquadrant.com trusty-2ndquadrant InRelease,The following signatures couldn't be verified because the public key is not available

解决:

sudo apt-get update 2>&1 |
sed -ne 's?^.*NO_PUBKEY ??p' |
xargs -r -- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys

猜你喜欢

转载自blog.csdn.net/u012551524/article/details/85803233