apt-get - E : The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file

标签 apt-get certbot debian-buster

由于我在 Debian 10 上安装了 certbot,它总是显示此错误:

root@HypeTime:/home/sinusbot# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Err:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
  404  Not Found [IP: 2001:67c:1560:8008::15 80]
Reading package lists... Done
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.

有人知道如何解决这个错误吗?

最佳答案

我通过删除 ppa 存储库摆脱了 Ubuntu 20.04 上的错误消息。我花了很长时间才找到确切的命令参数,所以这可能对其他人有帮助:-)。
我使用了命令:

sudo apt-add-repository -r ppa:certbot/certbot
之后,以下命令不会产生任何错误:
sudo apt update
sudo apt-get update

关于apt-get - E : The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60249177/

相关文章:

linux - 量子 (12.10) ubuntu repo

node.js - 使 .well-known 目录在 Express 4 中可见

docker - 需要 'y'响应的Docker构建镜像

debian - 更新替代品 : error: alternative/usr/sbin/arptables-legacy for arptables not registered; not setting

ubuntu - Mac 包装 : proposal for a new method(suggestions please)

linux - 尽管 ping 有效,但 apt-get 在树莓派上失败

c++ - libboost-XXX-dev 和 libboost-XXX 有什么区别?

ssl - Certbot SSL 证书不起作用

java - 出现错误 : JavaFX runtime components are missing,,需要在打开可执行 jar 时运行此应用程序

vim - ultisnips 在 Vim 中给我一条错误消息 : E117: Unknown function: UltiSnips#