大家好,希望你们都很好。问题是:当我执行更新程序时,它总是抛出相同的错误,提示:无法下载存储库信息。请检查您的互联网连接。当我运行更新程序时,sudo apt-get update
最后会得到以下几行:
W: Failed to fetch cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/dists/saucy/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 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/dists/saucy/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
W: Failed to fetch http://ppa.launchpad.net/tiheum/equinox/ubuntu/dists/saucy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/tiheum/equinox/ubuntu/dists/saucy/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
删除这 2 个 cdrom 条目是安全的。您可以通过手动编辑/etc/apt/sources.list
或使用Software Sources
实用程序来删除它们。
PPA 错误可能是因为 tiheum/equinox ppa 尚未更新以包含 13.10 saucy 的软件包。删除它的最安全方法是:
sudo apt-get install ppa-purge
ppa-purge tiheum/equinox
假设您想要删除 ppa(如果您不记得添加它或它提供的内容,您应该将其删除)。