Upgrading Ubuntu Server 8.04 LTS to 10.04 LTS (Part II)

Upgrading over SSH by doing:

do-release-upgrade

issued a warning about doing it over SSH.

So I did it through Webmin and the Command Shell:

do-release-upgrade

This wrote a bunch of stuff to /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log and then stopped when it appeared to run out of disk space.  Which is odd as I have more than 80GB free on the machine.

do-release-upgrade_webmin
do-release-upgrade webmin

I killed the process and rebooted the server.

do-release-upgrade_process
do-release-upgrade process

Then logging in through SSH I simulated an upgrade to see what would change:

$ sudo bash
# apt-get update
# apt-get -s -y -f upgrade (see results-upgrade.txt)
# apt-get -s -y -f dist-upgrade (see results-dist-upgrade.txt)

then:

# aptitude update
# aptitude safe-upgrade
# aptitude dist-upgrade

There were 300-odd packages to upgrade and a 400MB download but that came down pretty quickly at 500 – 700KB/s.  There were also a number of configuration file changes where I had to make a choice between replacing the old with the new, keeping the old or trying a merge between the two.  Generally I kept the old.  This took about two hours with stops to ask about changes.  Very handily it mailed all the apt changes to my account for me.  The only thing that didn’t work was an update to the dovecot configuration and I had to comment out line 90: ssl_disable = no.  Something I need to investigate later.  But it all works now – mail server, web server, database server and file server.

Download package lists: apt-get_dist-upgrade.zip (5KB) and apt-get_upgrade.zip (5KB)

Craig Lotter had some useful tips.

Leave a Reply

Your email address will not be published. Required fields are marked *