我在 Ubuntu 16.04 上运行 apt-get update 时出现此错误:
Err:15
http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release.gpg
The following signatures were invalid: KEYEXPIRED 1496576244
当我跑步时:
apt-key list | grep expired
我得到:
pub 2048R/BEB6D886 2015-03-27 [expired: 2017-06-04]
所以我尝试获取密钥:
sudo apt-key adv --recv-keys --keyserver keys.gnupg.net BEB6D886
我得到:
Executing: /tmp/tmp.oLjKJZ7zza/gpg.1.sh --recv-keys
--keyserver
keys.gnupg.net
BEB6D886
gpg: requesting key BEB6D886 from hkp server keys.gnupg.net
gpg: key BEB6D886: "home:Horst3180 OBS Project
<home:[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
什么都没有改变,但我仍然遇到同样的错误。有什么线索吗?
答案1
答案2
等待密钥所有者创建/发布新密钥。这就是它的工作原理,没有什么可改变的,因为什么都没有改变。
答案3
重新导入密钥:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5