我正在尝试将旧的ubuntu服务器从8.10(Intrepid)升级到9.04(Jaunty).但它失败了.
root@server1:/# do-release-upgrade Checking for a new ubuntu release Failed Upgrade tool signature Failed Upgrade tool Done downloading extracting 'jaunty.tar.gz' Failed to extract Extracting the upgrade Failed. There may be a problem with the network or with the server.
更新:
我想我可能已经找到了问题.
我的/ etc / update-manager / Meta-release看起来像这样:
[MetaRELEASE] URI = http://changelogs.ubuntu.com/Meta-release URI_LTS = http://changelogs.ubuntu.com/Meta-release-lts URI_UNSTABLE_POSTFIX = -development URI_PROPOSED_POSTFIX = -proposed
如果我去http://changelogs.ubuntu.com/meta-release它有Jaunty的这个信息:
Dist: jaunty Name: Jaunty Jackalope Version: 9.04 Date: Thu,23 Apr 2009 12:00:00 UTC Supported: 0 Description: This is the 9.04 release Release-File: http://archive.ubuntu.com/ubuntu/dists/jaunty/Release ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/main/dist-upgrader-all/0.111.8/jaunty.tar.gz UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/main/dist-upgrader-all/0.111.8/jaunty.tar.gz.gpg
那些以archive.ubuntu.com开头的链接因为jaunty是EOL而被打破.
我想我可以通过复制此文件,将“archive”替换为“old-releases”,在某处托管修改后的文件并更改元文件中的url来解决此问题.这是一个很好的解决方案,还是会让我遇到更糟糕的问题?
8.10和9.04都不受支持,你需要一直持续到10.04.
原文链接:https://www.f2er.com/ubuntu/348422.htmlCanonical维护有关如何在其存储库变暗here之后从版本升级的文档.
将以下内容添加到/etc/apt/sources.list:
deb http://old-releases.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse
使用新存储库进行更新,并针对intrepid存储库升级包:
apt-get update && apt-get dist-upgrade
然后您可以使用版本升级工具:
do-release-upgrade
冲洗并重复,在sources.list中用jaunty取代强悍,以便能够移动到9.10.要移至10.04,您不需要进行手动修改,因为看起来业力资源仍处于原始位置,尽管已经过了支持.