Ste*_*ing 63 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.
Run Code Online (Sandbox Code Playgroud)
有人知道如何解决这个错误吗?
jim*_*119 170
我通过删除 ppa 存储库摆脱了 Ubuntu 20.04 上的错误消息。我花了很长时间才找到确切的命令参数,所以这可能对其他人有帮助:-)。我使用了命令:
sudo apt-add-repository -r ppa:certbot/certbot
Run Code Online (Sandbox Code Playgroud)
之后,以下命令不会产生任何错误:
sudo apt update
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
vin*_*yll 24
最新的源代码工作得很好,可以用单线安装来安装 certbot。
curl -o- https://raw.githubusercontent.com/vinyll/certbot-install/master/install.sh | bash
Run Code Online (Sandbox Code Playgroud)
这对我来说解决了,当 certbot PPA 将再次修复时,也会卸载。
art*_*omp 23
我偶然发现了这些消息
~$ sudo add-apt-repository ppa:certbot/certbot
This is the PPA for packages prepared by Debian Let's Encrypt Team and backported for Ubuntu.
Note: Packages are only provided for currently supported Ubuntu releases.
More info: https://launchpad.net/~certbot/+archive/ubuntu/certbot
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:3 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Ign:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Get:6 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [588 kB]
Get:7 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [666 kB]
Err:8 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 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.
Run Code Online (Sandbox Code Playgroud)
按照Ubuntu 20.04 上的 Ubuntu 18.04 certbot 安装说明进行操作。
我应该遵循的Ubuntu 20.04 certbot安装说明,避免了命令序列sudo add-apt-repository ppa:certbot/certbot
之后sudo apt install python-certbot-nginx
,简单地执行
sudo apt install certbot python3-certbot-nginx
Run Code Online (Sandbox Code Playgroud)
请注意,20.04-friendly 命令python3
在命令中使用,而不仅仅是python
.
公平地说,我不是唯一处理这个问题的人。这篇关于提供-r
删除存储库选项的解决方案的另一篇文章帮助我确定了解决我的问题的方向。
请参阅@vinyll 对“随附卸载程序提供单行 Certbot 安装。也适用于 Ubuntu 20.04”的回答。我没有遵循这条路线,因为我不想在没有绝对确定它们的依赖项的情况下卸载软件包。由于我当时不是 100% 确定,因此只按照正确操作系统的安装说明进行操作比卸载它更容易,因为在不知情的情况下会消除所需的依赖项。
归档时间: |
|
查看次数: |
52012 次 |
最近记录: |