Ubuntu
為什麼 Ubuntu Server 9.04 不會升級到 9.10?
我有一台執行 9.04 的伺服器,我想將它升級到 9.10(正在升級到最新版本)。但是,儘管遵循了很好的 文件,但我無法做到。
具體來說,
sudo do-release-upgrade
失敗:Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading extracting 'lucid.tar.gz' authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg' tar: Removing leading `/' from member names Reading cache Checking package manager Can not upgrade An upgrade from 'jaunty' to 'lucid' is not supported with this tool.
我原來的/etc/apt/sources.list:
## EOL upgrade sources.list # Required deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse #deb http://old-releases.ubuntu.com/ubuntu/ jaunty-proposed main restricted universe multiverse
當我執行時更改
jaunty
為karmic
和old-releases
toreleases
會產生 404 錯誤sudo aptitude update
。並且,sudo do-release-upgrade
仍然嘗試直接升級到 lucid。
可能為時已晚,但……
將 jaunty 更改為 karmic 並將舊版本更改為版本會出現 404 錯誤
這應該是要歸檔的舊版本
這個升級根本行不通!
從 ubuntu-security-announce 郵件列表(上週收到):
This note is just to confirm that the support period for Ubuntu 9.10 (Karmic Koala) formally ended on May 1, 2011 and Ubuntu Security Notices no longer includes information or updated packages for Ubuntu 9.10.
因此,404 的。
“殘酷的解決方法”:將 /etc/apt/sources.list 和 /apt/sources.list.d/* 中的所有“jaunty”替換為“lucid”並執行“aptitude update && aptitude dist-upgrade”