搜索

451

主题

663

帖子

5297

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5297
QQ
发表于 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
  1. Hit http://cn.archive.ubuntu.com trusty/multiverse i386 Packages               
  2. Hit http://cn.archive.ubuntu.com trusty/main Translation-en                    
  3. Hit http://cn.archive.ubuntu.com trusty/multiverse Translation-en              
  4. Hit http://cn.archive.ubuntu.com trusty/restricted Translation-en              
  5. Hit http://cn.archive.ubuntu.com trusty/universe Translation-en               
  6. Ign http://cn.archive.ubuntu.com trusty/main Translation-en_US                 
  7. Ign http://cn.archive.ubuntu.com trusty/multiverse Translation-en_US           
  8. Ign http://cn.archive.ubuntu.com trusty/restricted Translation-en_US           
  9. Ign http://cn.archive.ubuntu.com trusty/universe Translation-en_US            
  10. Fetched 72 B in 18s (3 B/s)                                                   
  11. Reading package lists... Done
  12. 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
  1. xincun@xincun:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
  2. 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
  3. gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
  4. gpg: key 3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
  5. gpg: Total number processed: 1
  6. gpg: imported: 1
复制代码







手机微信同号:13682654092
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表