gpt4 book ai didi

docker - Debian Stretch gnutls_handshake()上的Docker失败

转载 作者:行者123 更新时间:2023-12-02 18:22:52 29 4
gpt4 key购买 nike

我正在尝试在我的Stretch Debian上安装docker。

我关注了the guide,但是当我使用“sudo apt-get update”时,我得到了:

https://download.docker.com/linux/debian stretch/stable amd64 Packages gnutls_handshake() failed: Public key signature verification has failed.



“curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt键添加-”
返回确定

最佳答案

这是从Debian Jessie升级的Debian Stretch安装上的一个已知问题。此处描述了该问题:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834724。如Debian错误报告中所述,您可以通过删除现已过时的库libgnutls-deb0-28来解决此问题。

如果您像我一样曾经是deb-multimedia的用户,那么删除此特定版本的libgnutls并非一帆风顺,因为您安装的deb-multimedia的librtmp1版本可能比Debian Stretch和这取决于libgnutls-deb0-28。解决方案是首先将librtmp1降级到Stretch提供的版本,然后删除libgnutls:

  • sudo apt install librtmp1=2.4+20151223.gitfa8646d.1-1
  • sudo apt remove libgnutls-deb0-28

  • 如果您使用的是aptitude而不是apt,那么aptitude会自动建议降级 librtmp1

    关于docker - Debian Stretch gnutls_handshake()上的Docker失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45432644/

    29 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com