侧边栏壁纸
  • 累计撰写 64 篇文章
  • 累计创建 73 个标签
  • 累计收到 3 条评论

目 录CONTENT

文章目录

解决sudo apt-get update报错问题

孤鸿
2021-12-16 / 0 评论 / 0 点赞 / 41 阅读 / 0 字

解决sudo apt-get update报错问题

输入sudo apt update出现如下报错

W: GPG error: https://packages.microsoft.com/repos/edge stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
E: The repository 'https://packages.microsoft.com/repos/edge stable 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.

Screenshot from 2021-12-16 00-10-09.png 原因是没有将edge的公钥导入到Ubuntu服务器 使用如下命令导入

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF

Screenshot from 2021-12-16 00-10-44.png 最后重新执行sudo apt update正常更新

0

评论区