Upgrading over SSH by doing:
issued a warning about doing it over SSH.
So I did it through Webmin and the Command Shell:
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.
I killed the process and rebooted the server.
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)
# 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.
Craig Lotter had some useful tips.