ubuntu apt-get update : W: An error occurred during the signature verification.

ubuntu  apt-get update W: An error occurred during the signature verification.

W: An error occurred during thesignature verification. The repository is not updated and the previous indexfiles will be used. GPG error: http://extras.ubuntu.com trusty Release: Thefollowing signatures couldn't be verified because the public key is notavailable: NO_PUBKEY 16126D3A3E5C1192

 

sudo apt-get update

 

即使执行:

 

sudo apt-get clean

 

sudo apt-get update

 

还是会有相同的错误。

 

有了解决方案:

 

sudo apt-get clean 

 

cd /var/lib/apt 

 

sudo mv lists lists.old 

 

sudo mkdir -p lists/partial 

 

sudo apt-get clean 

 

继续执行:

sudo apt-get update

。。。。

 

Readingpackage lists... Done

W: GPG error:http://extras.ubuntu.com trusty Release: The following signatures couldn't beverified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192

$ sudoapt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192

Executing:gpg --ignore-time-conflict --no-options --no-default-keyring --homedir/tmp/tmp.vFCmcTBtR8 --no-auto-check-trustdb --trust-model always --keyring/etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserverkeyserver.ubuntu.com --recv-keys 16126D3A3E5C1192

gpg:requesting key 3E5C1192 from hkp server keyserver.ubuntu.com

gpg: key3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>"imported

gpg: Totalnumber processed: 1

gpg:               imported: 1

sudo apt-get update

OK


  • 2
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ppa.launchpadcontent.net/apt-fast/stable/ubuntu jammy InRelease: Splitting up /var/lib/apt/lists/ppa.launchpadcontent.net_apt-fast_stable_ubuntu_dists_jammy_InRelease into data and signature failed W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease: Splitting up /var/lib/apt/lists/partial/mirrors.tuna.tsinghua.edu.cn_ubuntu_dists_jammy_InRelease into data and signature failed E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease: Splitting up /var/lib/apt/lists/partial/mirrors.tuna.tsinghua.edu.cn_ubuntu_dists_jammy-updates_InRelease into data and signature failed E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease: Splitting up /var/lib/apt/lists/partial/mirrors.tuna.tsinghua.edu.cn_ubuntu_dists_jammy-backports_InRelease into data and signature failed E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://archive.ubuntu.com/ubuntu trusty Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'https://ppa.launchpadcontent.net/notepadqq-team/notepadqq/ubuntu jammy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
06-10

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值