apt-get 更新 404

Naf*_*aff 2 ubuntu-9.10 apt

apt-get update 产生 404 错误。

我正在使用 Ubuntu 9.10 的默认镜像。那个版本还没有达到生命的尽头,所以我不明白为什么会发生这种情况。

Zyp*_*her 6

实际上 Ubuntu 9.10EOL。它于20114 月 30 日停产您可以通过/etc/apt/sources.list如下更改进行更新:

## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse
Run Code Online (Sandbox Code Playgroud)

来源