10.04 -> 12.04 升级。服务器。do-release-upgrade 失败。改变什么来源

fab*_*iim 5 upgrade server 10.04 12.04 do-release-upgrade

我目前正在尝试通过 ssh 升级 ubuntu 服务器。我被卡住了,因为我无法执行 do-release-upgrade。它尝试特立独行而不是尝试 12.04

基本上我认为他失败了,因为 12.04 是一个旧版本。我不得不更改 /var/lib/update-manager/meta-release 以开始使用旧版本镜像而不是存档,因为它之前因另一个问题而失败。

我的来源:http : //pastebin.com/xrFTaKjn 我的/var/lib/update-manager/meta-release:http://pastebin.com/A3Zs6DYx

怎么了?

我的错误:

Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading             authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg'  extracting 'maverick.tar.gz' tar: Removing leading `/' from member names

Reading cache

Checking package manager Reading package lists... Done Building dependency tree         Reading state information... Done Building data structures... Done  Reading package lists... Done     Building dependency tree           Reading state information... Done Building data structures... Done 

Updating repository information WARNING: Failed to read mirror file 35% [Working]  Error during update 

A problem occurred during the update. This is usually some sort of  network problem, please check your network connection and retry. 

W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick-updates/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick-updates/main/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80]  , W:Failed to fetch  http://archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80]  , E:Some index files failed to download, they have been ignored, or  old ones used instead. 


Restoring original system state

Aborting Reading package lists... Done     Building dependency tree    Reading state information... Done Building data structures... Done
Run Code Online (Sandbox Code Playgroud)

mik*_*ver 2

它失败是因为您使用的是 10.10 (Maverick) 而不是 10.04 (Lucid)。不支持从 10.10 升级到 12.04,而 10.04 -> 12.04 应该可以。

10.10 不再受支持,并且没有任何当前受支持版本的升级路径。只需备份,然后重新安装即可。

12.04 将支持到 2015 年 4 月。

要从 10.04 服务器升级到下一个 LTS,请安装update-manager-core
然后编辑/etc/update-manager/release-upgrades,并设置Prompt=lts

显然,您必须编辑/etc/apt/sources.list并将每一行重置回lucid第一行。