【发布时间】:2020-05-31 14:26:51
【问题描述】:
自从我在 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.
有人知道如何解决这个错误吗?
【问题讨论】:
-
也就是说,您为什么在 Debian 系统上使用 Ubuntu 存储库?尤其是当有already a certbot package in the main Debian repository,就是the official instructions tell you to use。
-
“焦点”版本尚未发布。也许您应该在 sources.list 中恢复到以前的 Ubuntu 版本(在指向此 PPA 的文件中将焦点更改为 disco),同时仍然避免在 Debian 系统上使用 Ubuntu 存储库。
-
这里有同样的问题。 Focal 报错
module 'acme.challenges' has no attribute 'TLSSNI01'
标签: apt-get certbot debian-buster