我有Kubuntu 14.10
内核Linux desktop001 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:06:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
,当我发出系统升级命令时:clear && sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
,更新停止在:100% [Waiting for headers]
一段时间后我收到警告和错误:
W: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/saucy/main/binary-i386/Packages 0 Requested Range Not Satisfiable [IP: 217.31.202.63 80]
W: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-i386/Packages 0 Requested Range Not Satisfiable [IP: 217.31.202.63 80]
W: Failed to fetch http://ppa.launchpad.net/inameiname/stable/ubuntu/dists/utopic/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/inameiname/stable/ubuntu/dists/utopic/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
这是我第一次无法升级系统,为什么?!
答案1
sources.list
以超级用户身份 编辑您的文件。
sudo kate /etc/apt/sources.list
注释掉以下行:
deb-src http://ca.archive.ubuntu.com/ubuntu/ saucy-security universe restricted multiverse main #Added by software-properties
它对我有用。
网址:https://www.kubuntuforums.net/showthread.php?58645-Error-when-updating。
答案2
这可能与您的互联网有关,您也可以尝试使用网站创建新的 sources.listhttp://repogen.simplylinux.ch/