E:存储库“https://download.docker.com/linux/debian focal Release”没有 Release 文件

E:存储库“https://download.docker.com/linux/debian focal Release”没有 Release 文件
E: The repository 'https://download.docker.com/linux/debian 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.

当我尝试从安装docker时出现此错误官方 Docker 网站无论如何,现在我不想要它,但我在任何地方都找不到它。我跑了

$ sudo nano /etc/apt/sources.list

但我找不到要删除的 docker 存储库。如何删除 docker 存储库?

答案1

跑步

sudo gedit /etc/apt/sources.list.d/docker.list

注释掉这行,保存,瞧!完成了,你的问题解决了!

相关内容