問題:deppin更新提示“由於沒有公鑰,無法驗證下列簽名”
1 yzw@yzw-PC:~$ sudo apt update 2 命中:1 https://community-packages.deepin.com/deepin apricot InRelease 3 命中:2 https://community-packages.deepin.com/printer eagle InRelease 4 忽略:3 http://dl.google.com/linux/earth/deb stable InRelease 5 命中:4 https://community-store-packages.deepin.com/appstore eagle InRelease 6 獲取:5 http://dl.google.com/linux/earth/deb stable Release [933 B] 7 獲取:6 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B] 8 忽略:6 http://dl.google.com/linux/earth/deb stable Release.gpg 9 正在讀取軟件包列表... 完成 10 W: GPG 錯誤:http://dl.google.com/linux/earth/deb stable Release: 由於沒有公鑰,無法驗證下列簽名: NO_PUBKEY 78BD65473CB3BD13 11 E: 倉庫 “http://dl.google.com/linux/earth/deb stable Release” 沒有數字簽名。 12 N: 無法安全地用該源進行更新,所以默認禁用該源。 13 N: 參見 apt-secure(8) 手冊以了解倉庫創建和用戶配置方面的細節。 14
修復方法
1 yzw@yzw-PC:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 78BD65473CB3BD13 2 Executing: /tmp/apt-key-gpghome.ThpCu94m4S/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 78BD65473CB3BD13 3 gpg: 密鑰 7721F63BD38B4796:“Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>” 1 個新的簽名 4 gpg: 密鑰 7721F63BD38B4796:“Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>” 1 個新的子密鑰 5 gpg: 處理的總數:1 6 gpg: 新的子密鑰:1 7 gpg: 新的簽名:1