无法更新 Ubuntu 8.04,apt-get update 失败

无法更新 Ubuntu 8.04,apt-get update 失败

可能重复:
安装软件包到已停产的 Ubuntu 版本?

我正在使用 Ubuntu 8.04,我想更新它,但失败了

root@ubuntu:~# apt-get update
Ign cdrom://Ubuntu 8.04.4 _Hardy Heron_ - Release i386 (20100121.1) hardy/main Translation-en_US
Ign cdrom://Ubuntu 8.04.4 _Hardy Heron_ - Release i386 (20100121.1) hardy/restricted Translation-en_US
37% [Connecting to archive.ubuntu.com (91.189.91.25)] [Connecting to security.u^37% [Connecting to archive.ubuntu.com (91.189.91.25)] [Connecting to security.u^37% [Connecting to archive.ubuntu.com (91.189.91.25)] [Connecting to security.ubuntu.com (91.189^Err http://security.ubuntu.com hardy-security Release.gpg                                       
  Could not connect to security.ubuntu.com:80 (91.189.92.166), connection timed out [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main Translation-en_US                            
  Unable to connect to security.ubuntu.com http: [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/restricted Translation-en_US                      
  Unable to connect to security.ubuntu.com http: [IP: 91.189.92.166 80]
Err http://archive.ubuntu.com hardy Release.gpg       ^[[15~                            
  Could not connect to archive.ubuntu.com:80 (91.189.91.13), connection timed out [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/main Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy/restricted Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates Release.gpg
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/main Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]
Reading package lists... Done                        
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg  Could not connect to archive.ubuntu.com:80 (91.189.91.13), connection timed out [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/i18n/Translation-en_US.bz2  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/i18n/Translation-en_US.bz2  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg  Could not connect to security.ubuntu.com:80 (91.189.92.166), connection timed out [IP: 91.189.92.166 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/i18n/Translation-en_US.bz2  Unable to connect to security.ubuntu.com http: [IP: 91.189.92.166 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/i18n/Translation-en_US.bz2  Unable to connect to security.ubuntu.com http: [IP: 91.189.92.166 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release.gpg  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/i18n/Translation-en_US.bz2  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/i18n/Translation-en_US.bz2  Unable to connect to archive.ubuntu.com http: [IP: 91.189.91.13 80]

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
root@ubuntu:~#

我的 source.list 文件是:

deb cdrom:[Ubuntu 8.04.4 _Hardy Heron_ - Release i386 (20100121.1)]/ hardy main restricted
deb http://archive.ubuntu.com/ubuntu hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu hardy main restricted

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu hardy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://archive.ubuntu.com/ubuntu hardy universe
# deb-src http://archive.ubuntu.com/ubuntu hardy universe
# deb http://archive.ubuntu.com/ubuntu hardy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu hardy-updates universe
# deb http://archive.ubuntu.com/ubuntu hardy-security universe
# deb-src http://archive.ubuntu.com/ubuntu hardy-security universe

我无法解决这个问题。

答案1

Ubuntu 8.04 恐怕已经到了支持终止日期;此版本将不再提供更新。您应该考虑升级到最新的 LTS 版本 Ubuntu 12.04。

您可以检查此处为使用寿命终止图表了解特定版本达到(或已达到)其支持周期结束的具体日期。

还可以查看此问题以获得有关获取已终止使用 Ubuntu 版本更新的帮助:

相关内容