首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apt升级失败密钥

Apt升级失败密钥
EN

Stack Overflow用户
提问于 2022-05-18 06:37:34
回答 1查看 1.2K关注 0票数 1

我正在尝试更新和升级我的Ubuntu20.04虚拟机服务器,但是最近我开始获得PUB_KEY not错误,当我在web上查找时,有一些命令需要接收,我尝试了尽可能多的命令,我的日志上说丢失了键,但是当我这样做时,它说键找不到。因此,我无法更新,请任何方法来修复。

代码语言:javascript
复制
ubuntu@mighty:~$ sudo apt-get update && sudo apt-get upgrade -y
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Get:2 https://playit-cloud.github.io/ppa/data ./ InRelease [2086 B]
Ign:3 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease       Hit:4 http://ap-mumbai-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Hit:6 http://ap-mumbai-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:7 http://ap-mumbai-1-ad-1.clouds.ports.ubuntu.com/ubuntu-ports focal-backports InRelease                                                            Get:8 http://deb.volian.org/volian scar InRelease [15.5 kB]
Ign:9 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu focal InRelease
Err:8 http://deb.volian.org/volian scar InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A87015F3DA22D980
Err:10 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
  404  Not Found [IP: 185.125.190.52 80]
Hit:11 https://ngrok-agent.s3.amazonaws.com buster InRelease
Err:12 http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu focal Release       404  Not Found [IP: 185.125.190.52 80]
Reading package lists... Done
W: GPG error: http://deb.volian.org/volian scar InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A87015F3DA22D980                                                        E: The repository 'http://deb.volian.org/volian scar 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://ppa.launchpad.net/certbot/certbot/ubuntu focal 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 'http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu focal 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.
ubuntu@mighty:~$

这是一个Oracle云Ubuntu虚拟机!

这就是我尝试添加缺失的PUB_KEY时得到的结果:

代码语言:javascript
复制
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A87015F3DA22D980

-----

ubuntu@mighty:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A87015F3DA22D980
Executing: /tmp/apt-key-gpghome.TUF52Pvtlo/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A87015F3DA22D980
gpg: keyserver receive failed: No data
ubuntu@mighty:~$
EN

回答 1

Stack Overflow用户

发布于 2022-06-15 17:05:47

它的解决方案--我基本上在我的系统中将ppa重命名为.bak

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72284245

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档