您的位置:首页 > 运维架构 > Linux

ubuntu14.4下载软件仓库失败

2016-02-29 19:00 477 查看
今天在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 Ubuntu14.04 ‘Trusty Tahr’“选择了,而我没有挂载光盘 

取消选择重新运行命令行  sudo apt-get update 得到如下结果:



不报错了

ps: 这个问题只是我遇到的,并不一定是唯一答案
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu linux