1. 程式人生 > >The following signatures couldn't be verified because the public key is not available 解決方法

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

upd ack AD ase itl no_pubkey sig TP ubun

今天試圖把 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 就不會報錯了。

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