docker - 如何解决 Skipping acquire of configured file Ubuntu

标签 docker ubuntu terminal

如何解决这些问题?这发生在我安装 docker 之后......

Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'stablestable/binary-amd64/Packages' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/i18n/Translation-en' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/i18n/Translation-en_IN' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/dep11/Components-amd64.yml' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/dep11/icons-48x48.tar' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/dep11/icons-64x64.tar' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/dep11/icons-64x64@2.tar' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'stablestable/cnf/Commands-amd64' as repository 'https://download.docker.com/linux/ubuntu focal InRelease' doesn't have the component 'stablestable' (component misspelt in sources.list?)

我的 ubuntu 是:

lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:    20.04
Codename:   focal

最佳答案

更新EEEE: 我终于弄清楚安装过程中似乎存在一些根本问题,结果我遇到了这些问题...... 所以我使用以下方法卸载了 docker:

 sudo apt-get remove docker docker-engine docker.io containerd runc

然后我使用稳定的脚本重新安装了 Docker:

 curl -fsSL https://get.docker.com -o get-docker.sh
 DRY_RUN=1 sh ./get-docker.sh

关于docker - 如何解决 Skipping acquire of configured file Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71113804/

相关文章:

windows - 以 ubuntu 作为基础镜像的 Docker 应用程序如何在 Windows 上运行?

linux - 回答终端查询并自动登录ssh

bash - 如何在docker容器中获取本地主机IP地址?

docker - 用于基准测试的虚拟 docker 容器

docker - 使用webpack-dev-server从webpack 2代理请求到docker容器中的后端api

database - 安装了postegres,但它说没有安装

node.js - 如何解决 "sequelize: command not found"?

ios - 在 Ubuntu 上发布未签名的基于 Cordova 的 iOS 应用程序

linux - 如何根据条件格式化我的 zsh 提示符?

linux - Alpine Linux : pmap output not showing RSS