docker 更新 404

docker 更新 404

当我进行更新时,发生以下情况:

Err:12 https://download.docker.com/linux/debian bionic Release                 
  404  Not Found [IP: 54.192.29.142 443]
Reading package lists... Done                                                  
E: The repository 'https://download.docker.com/linux/debian bionic 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.
W: Skipping acquire of configured file 'stable/source/Sources' as repository 'https://download.docker.com/linux/ubuntu bionic InRelease' does not seem to provide it (sources.list entry misspelt?)

答案1

尽管 Debian 和 Ubuntu 关系密切,有时会合并到共享存储库中,但它们仍然是不同的发行版。因此,在 ,https://download.docker.com/linux/debian您会找到 Debian 发行版的软件包,例如、wheezy等。但您正在寻找 Ubuntu 发行版的软件包,即。您可以在 找到它们。因此,您需要相应地编辑源文件条目。stretchjessiebionichttps://download.docker.com/linux/ubuntu

相关内容