在执行sudo apt-get updat命令时遇到错误:
命中:1 http://cn.archive.ubuntu.com/ubuntu bionic InRelease 忽略:2 https://mirrors.aliyun.com/docker-ce/linux/ubuntu (lsb_release InRelease 错误:3 https://mirrors.aliyun.com/docker-ce/linux/ubuntu (lsb_release Release 404 Not Found [IP: 180.97.148.113 443] 正在读取软件包列表... 完成 E: 仓库 “https://mirrors.aliyun.com/docker-ce/linux/ubuntu (lsb_release Release” 没有 Release 文件。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
解决方法:
将etc/apt/source.list.d 文件夹的 docker.list删掉,执行
sudo mv docker.list docker.list.save
然后再sudo apt-get upda就可以了



