尝试在 debian bullseye 上获取更新/当前版本的 docker,我得到:
$ sudo apt-get update
...
Ign:14 https://download.docker.com/linux/ubuntu bullseye InRelease
Err:15 https://download.docker.com/linux/ubuntu bullseye Release
404 Not Found [IP: 18.65.229.91 443]
Reading package lists... Done
N: Ignoring file 'docker.list_org' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: The repository 'https://download.docker.com/linux/ubuntu bullseye 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.
这篇文章似乎指出了正确的方向,但我找不到任何有效的方法。
我该如何解决这个问题?
更新:从上面的错误中检查 docker 存储库,
https://download.docker.com/linux/ubuntu/dists
我看到许多其他发行版的子目录,但没有看到靶心