我无法获取更新

我无法获取更新
W: The repository 'cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) 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.1 LTS _Xenial Xerus_ - Release amd64 (20160719)/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-ROM。

打开系统设置>软件属性,然后转到“其他软件”选项卡(如图所示)。

在此处输入图片描述

选择 CD-ROM 并按 Remove。出现提示时输入密码。关闭并接受刷新提示。

答案2

转到设置 - 软件和更新。在“Ubuntu 软件”选项卡上,选中前四个复选框,然后在“下载自”下拉列表中选择合理的值或“主服务器”

相关内容