如何解决这些问题?这发生在我安装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
更新:我终于发现,在安装过程中似乎有一些根本问题,因此我遇到了这些问题。。。所以我卸载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