10.04 LTS 至 12.04.1 LTS 期间出现错误:“无法获取...”

10.04 LTS 至 12.04.1 LTS 期间出现错误:“无法获取...”

我正在尝试通过“更新管理器”进行升级。单击“升级”后,出现“分发升级”对话框并开始“准备升级”,此时我收到一条消息:

Third party sources disabled
Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.

我点击“关闭”,然后“分发升级”转到“设置新软件频道”。此时我得到:

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://us.archive.ubuntu.com/ubuntu/dists/karmic-backports/main/source/Sources 404 Not Found [IP: 91.189.91.13 80]

W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-backports/restricted/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W:Failed to fetch h t t p://us.archive.ubuntu.com/ubuntu/dists/karmic-backports/universe/source/Sources 404 Not Found [IP: 91.189.91.13 80]
W:Failed to fetch h t t p://us.archive.ubuntu.com/ubuntu/dists/karmic-backports/multiverse/source/Sources 404 Not Found [IP: 91.189.91.13 80]

E:Some index files failed to download. They have been ignored, or old ones used instead.

升级失败。

任何帮助均感激不尽。

答案1

从 10.04 升级到 12.04 需要经过 10.10、11.04、11.10 等,这比较复杂,因为许多版本早已停产且不再受支持。我还没搞清楚该怎么做。

但是,你可以从 LTS 升级到 LTS,从 10.04 直接升级到 12.04,跳过中间的 EOL 版本。不过,你必须将更新管理器设置为仅查找长期支持版本。

请按照此处的说明进行操作: https://help.ubuntu.com/community/PreciseUpgrades#Network_Upgrade_for_Ubuntu_Desktops_10.04_LTS_to_12.04_LTS_.28Recommended.29

相关内容