W:存储库“cdrom://Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801) xenial Release”没有 Release 文件

W:存储库“cdrom://Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801) xenial Release”没有 Release 文件

当我更新时,sudo apt-get update它会出现一个错误列表:

Reading package lists... Done                      
W: The repository 'cdrom://Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch cdrom://Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)/dists/xenial/main/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.

我该如何解决?

答案1

首先,这些是警告而不是错误,因此您可以选择忽略它们。

你会得到它们,因为我推测 CD 不在驱动器中。

如果它们打扰您,请从您的来源中移除 CD。

安装新功能时,如何删除 CD/DVD 安装作为 apt-get 包的源?

相关内容