更新信息已过时,“无法获取 cdrom”

更新信息已过时,“无法获取 cdrom”

我的屏幕顶部有一个警告三角形。当我点击它时,它说我的更新信息已过期。当我sudo apt-get update && sudo apt-get upgrade在终端中输入时,我收到以下消息:

W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release i386 (20140417)/dists/trusty/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release i386 (20140417)/dists/trusty/restricted/binary-i386/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

您的更新设置已启用您的 cdrom 文件。因此,每次尝试更新时,它都会自动查找那些文件,而这些文件按定义是过时的。只需取消选择那些 cdrom 选项,即可sudo apt-get update && sudo apt-get upgrade 正常运行。

未选择 CDROM 安装文件。

相关内容