当前位置:   article > 正文

ubuntu18.04 apt-get update失败_no_pubkey ec34ed227afae3f2

no_pubkey ec34ed227afae3f2

ubuntu18.04 apt-get update失败

报错

W: GPG error: https://www.scootersoftware.com bcompare4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EC34ED227AFAE3F2
E: The repository 'https://www.scootersoftware.com bcompare4 Release' 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.
  • 1
  • 2
  • 3
  • 4

方法1

报错显示是这个key非法,所以添加key

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EC34ED227AFAE3F2
  • 1

可能又报错,也可能成功

Executing: /tmp/apt-key-gpghome.kqQzk2dNQt/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys EC34ED227AFAE3F2
gpg: keyserver receive failed: No data
  • 1
  • 2

方法2

搜索soft,
在这里插入图片描述
把刚才报错的那个网址前面的勾取消,再进行apt-get udate就可以了。

注:如果产生别的报错,可以再尝试去切换源试试

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/129301
推荐阅读
相关标签
  

闽ICP备14008679号