由于我在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:信息库 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release'没有发布文件,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/60249177/

10-12 17:45