存储库“ https://download.docker.com/linx/ubuntu仿生发行版”没有发行文件

时间:2019-11-19 02:41:52

标签: docker ubuntu-18.04

我正在尝试将docker安装到我的Ubuntu Server 18.04.3 LTS的vm实例上。按照Docker官方文档中的说明进行操作后,我遇到了一个绊脚石。

运行此命令时:

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

当无法检索发布文件时,下拉菜单将挂起。如果我从浏览器转到链接,它将带我到回购池,没问题

N: See apt-secure(8) manpage for repository creation and user configuration details.
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign:4 https://download.docker.com/linx/ubuntu bionic InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease
Err:7 https://download.docker.com/linx/ubuntu bionic Release
  404  Not Found [IP: 13.226.101.21 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linx/ubuntu 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:: command not found
dan@chapter:~$ N: See apt-secure(8) manpage for repository creation and user configuration details.

我尝试过的某些解决方案是重新配置语言环境。删除sources.list中的所有条目。我还尝试改用testedge版本,但仍然看到相同的错误。

就像我说的那样,我很沮丧,如果有人可以指出我的鼻子底下的东西,我将不胜感激。 :)

0 个答案:

没有答案