今天在linux上执行命令行:
sudo apt-get update
时出现了以下的错误信息:
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-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/dists/trusty/multiverse/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
, W:Failed to fetch cdrom://Ubuntu-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/dists/trusty/restricted/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
, W:Failed to fetch cdrom://Ubuntu-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/dists/trusty/universe/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
, W:Failed to fetch cdrom://Ubuntu-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/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-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/dists/trusty/multiverse/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-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/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
, W:Failed to fetch cdrom://Ubuntu-Kylin 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417.1)/dists/trusty/universe/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.
问题所在:
原来我把“Cdrom with Ubuntu 14.04 ‘Trusty Tahr’”选择了,而我没有挂载光盘,取消选择重新运行命令行:sudo apt-get update,得到如下结果:
不报错了。