![10.04 LTS 至 12.04.1 LTS 期间出现错误:“无法获取...”](https://linux22.com/image/827659/10.04%20LTS%20%E8%87%B3%2012.04.1%20LTS%20%E6%9C%9F%E9%97%B4%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%EF%BC%9A%E2%80%9C%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96...%E2%80%9D.png)
我正在尝试通过“更新管理器”进行升级。单击“升级”后,出现“分发升级”对话框并开始“准备升级”,此时我收到一条消息:
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