如何解决这些问题?这发生在我安装 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/