阿里云安装Docker添加源报错E: Malformed entry XX in list file /etc/apt/sources.list (Component)
默认类别 · 剑弗 · 10/27/23 07:33
E: The list of sources could not be read.
在阿里云上添加了Docker官方的下载源后,升级包(apt-get update)报出如上的错误.
没办法只好注释掉了其中的一个源路径:
deb [arch=amd64] https://download.docker.com/linux/ubuntu stable
只留下了:
deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
再次更新源不再报错.