可能重复:
由于缺少 CDROM,无法下载存储库信息
我已经使用 Ubuntu 大约 6 个月了,没有任何问题,直到昨天我运行更新管理器时一直收到此消息:
Failed to download repository information Check your Internet connection
然后在更多详细信息框中报告:
W:Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)/dists/precise/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 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)/dists/precise/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
更新管理器正在 Ubuntu CD/DVD 上查找软件包。如果未插入,您将收到该错误。您可以禁用 CD 作为软件包源。打开软件中心,转到Edit/Software Sources...
第一个选项卡并禁用 CD。