分享

求教!apt-get update && apt-get dist-upgrade更新,报错

云学生 发表于 2016-4-16 10:29:26 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 4 10098
     配置openstack kilo时,配置完源之后:   echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" \
"trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list
     执行apt-get update && apt-get dist-upgrade时,更新列表最后显示:
     W: Failed to fetch cdrom://Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)/dists/trusty/main/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-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)/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-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)/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-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)/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.

    请问有人遇到过类似的情况吗?这种问题会对后面的配置产生影响吗??

已有(4)人评论

跳转到指定楼层
bob007 发表于 2016-4-16 17:40:42
本帖最后由 bob007 于 2016-4-16 18:25 编辑

是不是格式错了,贴出图来看看
回复

使用道具 举报

云学生 发表于 2016-4-16 21:32:04
bob007 发表于 2016-4-16 17:40
是不是格式错了,贴出图来看看

    格式应该没有问题。不过好像不影响后面的操作,我就没有再管它了
回复

使用道具 举报

renjie 发表于 2016-6-26 18:49:34
换成163的源就可以
回复

使用道具 举报

goldisman 发表于 2016-9-6 23:42:32
应该是源的问题,换个源试试,最好是多换几个源试试。国内的几个源我都尝试过效果还是很不一样的,有些源根本找不到你想要的软件包。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条