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

时间:2018-05-18 01:20:49   收藏:0   阅读:840

今天试图把 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 就不会报错了。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!