The following signatures couldn't be verified because the public key is not available 解决方法

今天试图把 deepin 的软件源加到我到 Ubuntu 16.04 中去。
在 deepin wiki 上看到一个教程

/etc/apt/sources.list 中加上 deepin 的软件源之后,执行 sudo apt update 报错:

Err:3 http://packages.deepin.com/deepin unstable InRelease                     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 425956BB3E31DF51

搜索一番,发现一个办法

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 425956BB3E31DF51

再次执行 sudo apt update 就不会报错了。

猜你喜欢

转载自www.cnblogs.com/Patt/p/9054081.html