升级工具失败

San*_*h J -1 ubuntu debian ubuntu-8.04

我有一台在 ubuntu 8.04 (Hardy) 上运行的旧服务器。我需要将其升级到最新版本。当我发出 do-release-upgrade 命令时,出现以下错误。我不知道该怎么办!对此的任何帮助表示赞赏。

root@server:~# do-release-upgrade
Checking for a new ubuntu release
Failed Upgrade tool signature
Failed Upgrade tool
Done downloading
extracting '/tmp/tmp2qqi4S/intrepid.tar.gz'
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 45, in <module>
    fetcher.run()
  File "/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCo
re.py", line 160, in run
    if not self.extractDistUpgrader():
  File "/usr/lib/python2.5/site-packages/UpdateManager/Core/DistUpgradeFetcherCo
re.py", line 98, in extractDistUpgrader
    tar = tarfile.open(self.tmpdir+"/"+os.path.basename(self.uri),"r")
  File "/usr/lib/python2.5/tarfile.py", line 1148, in open
    return func(name, "r", fileobj)
  File "/usr/lib/python2.5/tarfile.py", line 1209, in gzopen
    fileobj = file(name, mode + "b")
IOError: [Errno 2] No such file or directory: '/tmp/tmp2qqi4S/intrepid.tar.gz'
Run Code Online (Sandbox Code Playgroud)

vor*_*aq7 5

您正在谈论尝试升级落后 5 年的服务器。
虽然我经常被引用说“你不应该在驱动器中放入一张 CD 来进行 unix 升级”,但这是你真正必须在驱动器中放入一张 CD 的时候之一

尝试拖延您的服务器进行 5 年的升级是痛苦和灾难的秘诀。

如果你阅读你的命令输出,你应该已经注意到这两行相当不祥的行:

Failed Upgrade tool signature
Failed Upgrade tool
Run Code Online (Sandbox Code Playgroud)

这(可能)是因为升级工具不再可用。我相当确定 Intrepid Ibex 软件包存储库也不可用,因此您还需要找到这些存储库的副本。
您在这方面浪费的时间使干净的重新安装成为更好的选择。