$ sudo apt update
忽略:1 http://mirrors.aliyun.com/debian stretch InRelease
命中:2 http://mirrors.aliyun.com/debian-security stretch/updates InRelease
命中:3 http://mirrors.aliyun.com/debian stretch-updates InRelease
錯誤:2 http://mirrors.aliyun.com/debian-security stretch/updates InRelease
由于沒有公鑰,無法驗證下列簽名: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
命中:4 http://mirrors.aliyun.com/debian stretch Release
錯誤:3 http://mirrors.aliyun.com/debian stretch-updates InRelease
由于沒有公鑰,無法驗證下列簽名: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
錯誤:5 http://mirrors.aliyun.com/debian stretch Release.gpg
由于沒有公鑰,無法驗證下列簽名: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY EF0F382A1A7B6500
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關(guān)系樹
正在讀取狀態(tài)信息... 完成
嘗試了網(wǎng)上好多辦法,更換各種鏡像源,gpg 下載key都不行;最后發(fā)現(xiàn) 更新debian-archive-keyring這個軟件包,就一切問題解決了
安裝新版本debian-archive-keyring
$ sudo apt-get install debian-archive-keyring
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關(guān)系樹
正在讀取狀態(tài)信息... 完成
下列軟件包將被升級:
debian-archive-keyring
升級了 1 個軟件包,新安裝了 0 個軟件包,要卸載 0 個軟件包,有 160 個軟件包未被升級。
需要下載 73.9 kB 的歸檔。
解壓縮后會消耗 30.7 kB 的額外空間。
獲取:1 http://mirrors.aliyun.com/debian stretch/main amd64 debian-archive-keyring all 2017.5+deb9u1 [73.9 kB]
已下載 73.9 kB,耗時 0秒 (184 kB/s)
(正在讀取數(shù)據(jù)庫 ... 系統(tǒng)當(dāng)前共安裝有 72749 個文件和目錄。)
正準(zhǔn)備解包 .../debian-archive-keyring_2017.5+deb9u1_all.deb ...
正在將 debian-archive-keyring (2017.5+deb9u1) 解包到 (2017.5) 上 ...
正在設(shè)置 debian-archive-keyring (2017.5+deb9u1) ...
再次update
$ sudo apt update
忽略:1 http://mirrors.aliyun.com/debian stretch InRelease
命中:2 http://mirrors.aliyun.com/debian-security stretch/updates InRelease
命中:3 http://mirrors.aliyun.com/debian stretch-updates InRelease
命中:4 http://mirrors.aliyun.com/debian stretch Release
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關(guān)系樹
正在讀取狀態(tài)信息... 完成
有 160 個軟件包可以升級。請執(zhí)行 ‘a(chǎn)pt list --upgradable’ 來查看它們。
成功