无法安装升级或更新任何...
E: Some index files failed to download. They have been ignored, or old ones used instead.
--
E: Unable to locate package
答案1
我加入/etc/apt/sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
# Optional
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
然后应用sudo apt-get -y update
这解决了我的问题