I have a server running 9.04 and I'd like to upgrade it to 9.10 (on the way to getting to the latest version). However, despite following the nice documentation, I am unable to.
Specifically, sudo do-release-upgrade
fails:
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.
My original /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
Changing jaunty
to karmic
and old-releases
to releases
gives 404 errors when I run sudo aptitude update
. And, sudo do-release-upgrade
still tries to upgrade directly to lucid.
Probably too late but....
This should be old-releases to archive
This upgrade will not work at all!
From the ubuntu-security-announce mailing list (received last week):
Hence the 404's.
"Cruel workaround": replace all "jaunty" 's in /etc/apt/sources.list and /apt/sources.list.d/* with "lucid" and run "aptitude update && aptitude dist-upgrade"
I see
do-release-upgrade
is automatically trying to upgrade to Lucid, which is wrong (maybe a bug, as the docs don't point out this possibility).Check
/etc/update-manager/release-upgrades
. Does it sayPrompt=lts
? If so, try changing it toPrompt=normal
.If all fails you can try upgrading the Debian way - by modifying your sources to point to Karmic and doing
apt-get update && apt-get dist-upgrade
.