linux - Error installing Docker `https://download.docker.com/linux/ubuntu focal Release 404 Not Found`
问题描述
I'm following these instructions to install Docker.
When I reach this command:
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
I get the following error
Err:11 https://download.docker.com/linux/ubuntu focal Release
404 Not Found [IP: 2600:9000:2177:b200:3:db06:4200:93a1 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file.
解决方案
Given focal
in the error message, I believe you are using Ubuntu 20.04 pre-release build. For that release, package is not available here https://download.docker.com/linux/ubuntu/dists/ yet.
推荐阅读
- c - 程序完成工作后如何删除.exe输出文件
- git - PyCharm IDE 在项目目录中组织了 venv 目录。吉特呢?
- postgresql - postgres:按行特定的 24 小时时段分组?
- php - 十月CMS表格文件上传| 为 foreach() 提供的参数无效
- elasticsearch - 如何在弹性搜索中进行精确的短语匹配?
- visual-studio - MATLAB 中的 Visual Studio“Peek Definition”功能的等价物是什么?
- python - 在python中将不同的日期格式转换为给定的唯一日期格式
- vba - 重新组织表格/csv 文件中的数据 - Excel
- hyperlink - Microsoft Graph,权限,为 DriveItem 创建共享链接,类型:视图不起作用
- visual-studio - 活动测试运行被中止。原因: