给服务器重新安装docker时,碰到如下错误:
File not found - /mnt/dists/bionic/Release (2: No such file or directory)
E: The repository 'file:/mnt bionic Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
解决办法:
查看/etc/apt/sources.list,一些源链接以前改动过,以前是:
现在改成: