|
发表于 2023-6-20 19:58:52
2114 浏览 0 回复
执行sudo apt-get update 报错 The following signatures couldn't be verified
问题:
执行sudo apt-get update 报错
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
- Hit http://cn.archive.ubuntu.com trusty/multiverse i386 Packages
- Hit http://cn.archive.ubuntu.com trusty/main Translation-en
- Hit http://cn.archive.ubuntu.com trusty/multiverse Translation-en
- Hit http://cn.archive.ubuntu.com trusty/restricted Translation-en
- Hit http://cn.archive.ubuntu.com trusty/universe Translation-en
- Ign http://cn.archive.ubuntu.com trusty/main Translation-en_US
- Ign http://cn.archive.ubuntu.com trusty/multiverse Translation-en_US
- Ign http://cn.archive.ubuntu.com trusty/restricted Translation-en_US
- Ign http://cn.archive.ubuntu.com trusty/universe Translation-en_US
- Fetched 72 B in 18s (3 B/s)
- Reading package lists... Done
- W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
复制代码 解决方案:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
- xincun@xincun:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
- Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.wMEQb3GlOq --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/openjdk-r-ppa.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
- gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
- gpg: key 3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
- gpg: Total number processed: 1
- gpg: imported: 1
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|